Fix notifications dropdown not showing

This commit is contained in:
Toby Zerner 2016-05-27 13:53:50 +09:30
parent 8d26d2ee8f
commit d4a333e2b8
2 changed files with 0 additions and 16 deletions

View File

@ -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();
}
}

View File

@ -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();
}
}