FIX: Swapping one topic with another then scrolling wasn't updating the

URL properly.
This commit is contained in:
Robin Ward 2014-06-10 13:43:45 -04:00
parent e985ffc273
commit 9472d65059

View File

@ -156,6 +156,9 @@ Discourse.TopicRoute = Discourse.Route.extend({
},
setupController: function(controller, model) {
// In case we navigate from one topic directly to another
this.set("isTransitioning", false);
if (Discourse.Mobile.mobileView) {
// close the dropdowns on mobile
$('.d-dropdown').hide();