Skip to content

A platform for community discussion. Free, open, simple.

FIX: Restore initState() call within discourse-location for subfolder

David Taylor19dcc6bb7b03
diff --git a/app/assets/javascripts/discourse/lib/discourse-location.js.es6 b/app/assets/javascripts/discourse/lib/discourse-location.js.es6
index ba03ee5017d..20e8ad8c5d0 100644
--- a/app/assets/javascripts/discourse/lib/discourse-location.js.es6
+++ b/app/assets/javascripts/discourse/lib/discourse-location.js.es6
@@ -18,6 +18,8 @@ const DiscourseLocation = EmberObject.extend({
this._super(...arguments);
this.set("location", this.location || window.location);
+
+ this.initState();
},
/**