summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-10-22 22:01:02 -0600
committerTim Almdal <tnalmdal@shaw.ca>2009-10-23 05:39:24 -0700
commit2d5b65a419908eed028d96c76ef2d01273376f13 (patch)
tree69628fd73bfa10a9f9fc701911e307f1bce5351d /lib
parent2554316df24bef2c8bb1d0d044c322066a1a3cd3 (diff)
Use jQuery fadeIn() for message display effect, it fades bg icon and color at the same time.
Diffstat (limited to 'lib')
-rw-r--r--lib/gallery.common.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/gallery.common.js b/lib/gallery.common.js
index 7c52fef0..da69e476 100644
--- a/lib/gallery.common.js
+++ b/lib/gallery.common.js
@@ -1,10 +1,9 @@
(function ($) {
// Fade in action status message background color
- $.fn.gallery_show_message = function(message) {
+ $.fn.gallery_show_message = function() {
return this.each(function(i){
- $(this).effect("highlight", {"color": "white"}, 3000);
- $(this).animate({opacity: 1.0}, 6000);
+ $(this).hide().fadeIn(3000)
});
};