mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 06:46:11 +08:00
FIX: Swapping one topic with another then scrolling wasn't updating the
URL properly.
This commit is contained in:
parent
e985ffc273
commit
9472d65059
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user