aboutsummaryrefslogtreecommitdiffstats
path: root/core/js/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'core/js/js.js')
-rw-r--r--core/js/js.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/js/js.js b/core/js/js.js
index 08b429a555b..3904787c4e5 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -352,10 +352,10 @@ OC.Notification={
},
show: function(text) {
if(($('#notification').filter('span.undo').length == 1) || OC.Notification.isHidden()){
- $('#notification').html(text);
+ $('#notification').text(text);
$('#notification').fadeIn().css("display","inline");
}else{
- OC.Notification.queuedNotifications.push($(text).html());
+ OC.Notification.queuedNotifications.push($('<div/>').text(text).html());
}
},
isHidden: function() {