diff --git a/plugins/discourse-presence/assets/javascripts/discourse/components/composer-presence-display.js.es6 b/plugins/discourse-presence/assets/javascripts/discourse/components/composer-presence-display.js.es6 index bad4c859d8a..18cfd47d92e 100644 --- a/plugins/discourse-presence/assets/javascripts/discourse/components/composer-presence-display.js.es6 +++ b/plugins/discourse-presence/assets/javascripts/discourse/components/composer-presence-display.js.es6 @@ -92,8 +92,7 @@ export default Ember.Component.extend({ this.messageBus.subscribe( r.messagebus_channel, message => { - if (!this.isDestroyed) - this.set("presenceUsers", message.users); + if (!this.isDestroyed) this.set("presenceUsers", message.users); this._clearTimer = Ember.run.debounce( this, "clear", diff --git a/plugins/poll/assets/javascripts/initializers/add-poll-ui-builder.js.es6 b/plugins/poll/assets/javascripts/initializers/add-poll-ui-builder.js.es6 index 5af0c73cd46..406045f1ffd 100644 --- a/plugins/poll/assets/javascripts/initializers/add-poll-ui-builder.js.es6 +++ b/plugins/poll/assets/javascripts/initializers/add-poll-ui-builder.js.es6 @@ -21,10 +21,7 @@ function initializePollUIBuilder(api) { actions: { showPollBuilder() { - showModal("poll-ui-builder").set( - "toolbarEvent", - this.toolbarEvent - ); + showModal("poll-ui-builder").set("toolbarEvent", this.toolbarEvent); } } });