Skip to content

Commit

Permalink
Merge pull request #1705 from designermonkey/2.3.3bugfix
Browse files Browse the repository at this point in the history
Change the way html is added to node in js. Fixes #1704
  • Loading branch information
brendo committed Mar 25, 2013
2 parents 72ff132 + f25b68d commit fd574d1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions symphony/assets/js/symphony.notify.js
Expand Up @@ -51,9 +51,8 @@

// Create item
item = $('<p />', {
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')) {
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit fd574d1

Please sign in to comment.