We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9bcef6b commit ad1433eCopy full SHA for ad1433e
public/src/client/header/notifications.js
@@ -9,6 +9,9 @@ define('forum/header/notifications', function () {
9
notifTrigger.on('show.bs.dropdown', async (ev) => {
10
const notifications = await app.require('notifications');
11
const triggerEl = $(ev.target);
12
+ const dropdownEl = triggerEl.parent().find('.dropdown-menu');
13
+ dropdownEl.find('[data-filter="all"]').addClass('active');
14
+ dropdownEl.find('[data-filter="unread"]').removeClass('active');
15
notifications.loadNotifications(triggerEl, triggerEl.parent().find('[component="notifications/list"]'));
16
});
17
0 commit comments