From 2735914cf6dfcd4998335be0d1a09467ca188055 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 19 Dec 2017 17:52:28 -0500 Subject: [PATCH] FIX: ESlint --- .../javascripts/discourse/components/user-stream.js.es6 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/components/user-stream.js.es6 b/app/assets/javascripts/discourse/components/user-stream.js.es6 index 90b97cdf7de..4e7b2456a71 100644 --- a/app/assets/javascripts/discourse/components/user-stream.js.es6 +++ b/app/assets/javascripts/discourse/components/user-stream.js.es6 @@ -17,7 +17,7 @@ export default Ember.Component.extend(LoadMore, { $(window).on('resize.discourse-on-scroll', () => this.scrolled()); - this.$().on('click.details-disabled', 'details.disabled', () => false) + this.$().on('click.details-disabled', 'details.disabled', () => false); this.$().on('mouseup.discourse-redirect', '.excerpt a', function(e) { // bypass if we are selecting stuff const selection = window.getSelection && window.getSelection(); @@ -39,7 +39,7 @@ export default Ember.Component.extend(LoadMore, { _destroyed: function() { this.unbindScrolling('user-stream-view'); $(window).unbind('resize.discourse-on-scroll'); - this.$().off('click.details-disabled', 'details.disabled') + this.$().off('click.details-disabled', 'details.disabled'); // Unbind link tracking this.$().off('mouseup.discourse-redirect', '.excerpt a');