diff --git a/public/src/modules/notifications.js b/public/src/modules/notifications.js index 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) {