aboutsummaryrefslogtreecommitdiff
path: root/engine/js
diff options
context:
space:
mode:
Diffstat (limited to 'engine/js')
-rw-r--r--engine/js/lib/elgglib.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/engine/js/lib/elgglib.js b/engine/js/lib/elgglib.js
index 208c02716..5c32deaaf 100644
--- a/engine/js/lib/elgglib.js
+++ b/engine/js/lib/elgglib.js
@@ -144,14 +144,7 @@ elgg.system_messages = function(msgs, delay, type) {
var messages_html = [];
for (var i in msgs) {
- messages_html.push('<div class="' + classes.join(' ') + '">'
- + '<span class="closeMessages">'
- + '<a href="#">'
- + elgg.echo('systemmessages:dismiss')
- + '</a>'
- + '</span>'
- + '<p>' + msgs[i] + '</p>'
- + '</div>');
+ messages_html.push('<div class="' + classes.join(' ') + '"><p>' + msgs[i] + '</p></div>');
}
$(messages_html.join('')).appendTo('#elgg_system_messages').animate({opacity:'1.0'},delay).fadeOut('slow');