From f25b68da7e69f6d923e9a548274468b3a4644b1d Mon Sep 17 00:00:00 2001 From: John Porter Date: Mon, 25 Mar 2013 14:14:10 +0000 Subject: [PATCH] Change the way html is added to node in js --- symphony/assets/js/symphony.notify.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/symphony/assets/js/symphony.notify.js b/symphony/assets/js/symphony.notify.js index 6087243778..a97d909022 100644 --- a/symphony/assets/js/symphony.notify.js +++ b/symphony/assets/js/symphony.notify.js @@ -51,9 +51,8 @@ // Create item item = $('

', { - html: message.replace(Symphony.Language.get('at') + ' ', ''), 'class': type - }).addClass('notice active').symphonyTimeAgo(); + }).html(message.replace(Symphony.Language.get('at') + ' ', '')).addClass('notice active').symphonyTimeAgo(); // Add ignore link to notices) if(!item.is('.error') && !item.is('.success') && !item.is('.protected')) { @@ -251,7 +250,7 @@ if(notifier.find(settings.items).length > 0) { notifier.removeClass('constructing').trigger('resize.notify'); } - + notifier.removeClass('constructing'); // Update relative times in system messages