mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 09:17:30 +08:00
FIX: clear selection when transitioning out of a topic
This commit is contained in:
parent
e56fcf0c43
commit
9a668a7e7b
|
@ -91,6 +91,7 @@ Discourse.TopicRoute = Discourse.Route.extend({
|
|||
},
|
||||
|
||||
willTransition: function() {
|
||||
this.controllerFor("quote-button").deselectText();
|
||||
Em.run.cancel(scheduledReplace);
|
||||
isTransitioning = true;
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user