FIX: Make sure we clean quoteState when destroying quoteButton.

This commit is contained in:
Guo Xiang Tan 2016-11-23 14:45:47 +08:00
parent dd4cab3be2
commit 55013be19f
1 changed files with 2 additions and 0 deletions

View File

@ -164,6 +164,8 @@ export default Ember.Component.extend({
.off("touchstart.quote-button")
.off("touchend.quote-button")
.off("selectionchange");
this.sendAction('deselectText');
},
click(e) {