aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/js/elgg.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/views/default/js/elgg.php b/views/default/js/elgg.php
index f7f1e942c..3a6e0c814 100644
--- a/views/default/js/elgg.php
+++ b/views/default/js/elgg.php
@@ -73,14 +73,14 @@ $(document).ready(function () {
// display & hide elgg system messages
function elgg_system_message() {
- $("#elgg-system-message").animate({opacity: 0.9}, 1000);
- $("#elgg-system-message").animate({opacity: 0.9}, 5000);
- $("#elgg-system-message").fadeOut('slow');
-
- $("#elgg-system-message").click(function () {
- $("#elgg-system-message").stop();
- $("#elgg-system-message").fadeOut('slow');
- return false;
+ $('.elgg-system-messages li').animate({opacity: 0.9}, 1000);
+ $('.elgg-system-messages li').animate({opacity: 0.9}, 5000);
+ $('.elgg-system-messages li').fadeOut('slow');
+
+ $('.elgg-system-messages li').click(function() {
+ $('.elgg-system-messages li').stop();
+ $('.elgg-system-messages li').fadeOut('slow');
+ return false;
});
}