mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-29 00:00:33 -04:00
FIX: clear selection when transitioning out of a topic
This commit is contained in:
parent
e56fcf0c43
commit
9a668a7e7b
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue