mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
FIX: If we are scheduled after being torn down don't do anything
This commit is contained in:
parent
5f2c746853
commit
ead073bd87
1 changed files with 3 additions and 0 deletions
3
vendor/assets/javascripts/ember-cloaking.js
vendored
3
vendor/assets/javascripts/ember-cloaking.js
vendored
|
@ -329,6 +329,9 @@
|
|||
},
|
||||
|
||||
updateChildView: function () {
|
||||
// If the element has been destroyed before this call occurs
|
||||
if (!this) { return; }
|
||||
|
||||
this._scheduled = false;
|
||||
if (!this._elementCreated || this.isDestroying || this.isDestroyed) { return; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue