From d4a333e2b8aec556d7c57cba30ac4359bc1f3a11 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Fri, 27 May 2016 13:53:50 +0930 Subject: [PATCH] Fix notifications dropdown not showing --- framework/core/js/forum/dist/app.js | 8 -------- .../core/js/forum/src/components/NotificationsDropdown.js | 8 -------- 2 files changed, 16 deletions(-) diff --git a/framework/core/js/forum/dist/app.js b/framework/core/js/forum/dist/app.js index d73c4a327..a34e60f7d 100644 --- a/framework/core/js/forum/dist/app.js +++ b/framework/core/js/forum/dist/app.js @@ -23961,13 +23961,6 @@ System.register('flarum/components/NotificationsDropdown', ['flarum/components/D value: function init() { babelHelpers.get(Object.getPrototypeOf(NotificationsDropdown.prototype), 'init', this).call(this); - /** - * Whether or not the notifications dropdown is visible. - * - * @type {Boolean} - */ - this.showing = false; - this.list = new NotificationList(); } }, { @@ -24013,7 +24006,6 @@ System.register('flarum/components/NotificationsDropdown', ['flarum/components/D if (app.drawer.isOpen()) { this.goToRoute(); } else { - this.showing = true; this.list.load(); } } diff --git a/framework/core/js/forum/src/components/NotificationsDropdown.js b/framework/core/js/forum/src/components/NotificationsDropdown.js index 86fc577b2..826a3190d 100644 --- a/framework/core/js/forum/src/components/NotificationsDropdown.js +++ b/framework/core/js/forum/src/components/NotificationsDropdown.js @@ -16,13 +16,6 @@ export default class NotificationsDropdown extends Dropdown { init() { super.init(); - /** - * Whether or not the notifications dropdown is visible. - * - * @type {Boolean} - */ - this.showing = false; - this.list = new NotificationList(); } @@ -60,7 +53,6 @@ export default class NotificationsDropdown extends Dropdown { if (app.drawer.isOpen()) { this.goToRoute(); } else { - this.showing = true; this.list.load(); } }