mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:48:26 -06:00
cancel timer when removing composer
This commit is contained in:
parent
133d97402a
commit
de20e36629
@ -72,6 +72,10 @@ export default Ember.Component.extend({
|
||||
|
||||
this.set('oldPresenceState', this.get('presenceState'));
|
||||
this.set('presenceState', stateObject);
|
||||
|
||||
if (isClosing) {
|
||||
Ember.run.cancel(this._timeoutTimer);
|
||||
}
|
||||
},
|
||||
|
||||
_ACTIONS: ['edit', 'reply'],
|
||||
|
Loading…
Reference in New Issue
Block a user