mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:06:57 +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() {
|
||||
if (this.isDestroyed || this.isDestroying) { return; }
|
||||
if (this.get('hidden')) { return; }
|
||||
|
||||
const $topicProgress = this.$('#topic-progress');
|
||||
|
|
Loading…
Reference in New Issue
Block a user