aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/lib/ui.js2
-rw-r--r--views/default/js/elgg.php20
2 files changed, 1 insertions, 21 deletions
diff --git a/js/lib/ui.js b/js/lib/ui.js
index fff13c800..389986d53 100644
--- a/js/lib/ui.js
+++ b/js/lib/ui.js
@@ -6,7 +6,7 @@ elgg.ui.init = function () {
$(this).stop().fadeOut('fast');
});
- $('.elgg-system-messages li').animate({opacity: 0.9}, 5000);
+ $('.elgg-system-messages li').animate({opacity: 0.9}, 6000);
$('.elgg-system-messages li').fadeOut('slow');
$('.elgg-toggle').live('click', elgg.ui.toggle);
diff --git a/views/default/js/elgg.php b/views/default/js/elgg.php
index 3a6e0c814..1bf7574bd 100644
--- a/views/default/js/elgg.php
+++ b/views/default/js/elgg.php
@@ -63,26 +63,6 @@ $(function() {
elgg.trigger_event('init', 'system');
});
-$(document).ready(function () {
-
- elgg_system_message();
-
-}); /* end document ready function */
-
-
-
-// display & hide elgg system messages
-function elgg_system_message() {
- $('.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;
- });
-}
// reusable slide in/out toggle function
function elgg_slide_toggle(activateLink, parentElement, toggleElement) {