mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-12 11:01:27 +02:00
notifications/list and notifications components
This commit is contained in:
@@ -6,9 +6,9 @@ define('notifications', ['sounds', 'translator', 'components'], function(sound,
|
||||
var Notifications = {};
|
||||
|
||||
Notifications.prepareDOM = function() {
|
||||
var notifContainer = $('.notifications'),
|
||||
var notifContainer = components.get('notifications'),
|
||||
notifTrigger = notifContainer.children('a'),
|
||||
notifList = $('#notif-list'),
|
||||
notifList = components.get('notifications/list'),
|
||||
notifIcon = components.get('notifications/icon');
|
||||
|
||||
notifTrigger.on('click', function(e) {
|
||||
|
||||
Reference in New Issue
Block a user