FIX: Don't raise an error when the element is missing

This commit is contained in:
Robin Ward
2016-05-27 14:59:48 -04:00
parent 3c4d386caf
commit eaf4c5b99e

View File

@@ -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');