FIX: clear selection when transitioning out of a topic

This commit is contained in:
Régis Hanol 2014-09-11 16:35:04 +02:00
parent e56fcf0c43
commit 9a668a7e7b
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ Discourse.TopicRoute = Discourse.Route.extend({
},
willTransition: function() {
this.controllerFor("quote-button").deselectText();
Em.run.cancel(scheduledReplace);
isTransitioning = true;
return true;