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() {
|
willTransition: function() {
|
||||||
|
this.controllerFor("quote-button").deselectText();
|
||||||
Em.run.cancel(scheduledReplace);
|
Em.run.cancel(scheduledReplace);
|
||||||
isTransitioning = true;
|
isTransitioning = true;
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue