mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 18:06:18 +08:00
FIX: Don't raise an error when the element is missing
This commit is contained in:
parent
3c4d386caf
commit
eaf4c5b99e
|
@ -94,6 +94,7 @@ export default Ember.Component.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
_updateProgressBar() {
|
_updateProgressBar() {
|
||||||
|
if (this.isDestroyed || this.isDestroying) { return; }
|
||||||
if (this.get('hidden')) { return; }
|
if (this.get('hidden')) { return; }
|
||||||
|
|
||||||
const $topicProgress = this.$('#topic-progress');
|
const $topicProgress = this.$('#topic-progress');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user