From 883566401ee3974881121a7445028f77ce35c440 Mon Sep 17 00:00:00 2001 From: wolfkang Date: Thu, 22 Mar 2012 20:26:08 +0900 Subject: [PATCH] In IE, the fade option make the background black. So I propose a code to fix it. The css file shoud be modified, too. --- js/mosaic.1.0.1.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/mosaic.1.0.1.js b/js/mosaic.1.0.1.js index a645aac..715b95f 100644 --- a/js/mosaic.1.0.1.js +++ b/js/mosaic.1.0.1.js @@ -49,7 +49,10 @@ }); }else{ $(base.options.backdrop, base.el).show(); - $(base.options.overlay , base.el).show(); + if(base.options.animation == 'fade') + $(base.options.overlay , base.el).fadeTo(0, 0).show(); + else + $(base.options.overlay , base.el).show(); base.allow_hover(); } };