From d5cc37b166ee63c5536193b0d796c84b23315055 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 31 Aug 2015 15:43:14 -0400 Subject: [PATCH] notifications/list and notifications components --- public/src/modules/notifications.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {