Node.js based forum software built for the modern web
notifications/list and notifications components
psychobunnyd5cc37b166ee
diff --git a/public/src/modules/notifications.js b/public/src/modules/notifications.jsindex a94c4f635c..03f5e7b2d5 100644--- a/public/src/modules/notifications.js+++ b/public/src/modules/notifications.js@@ -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) {