MiniPrompt: [minor] Added short delay before destruction in whiteOutDestroyWithImage().
authorDan
Wed, 07 Oct 2009 13:01:00 -0400
changeset 1129 d56a55a3011b
parent 1128 a5aaa7512155
child 1130 c308b471ed82
MiniPrompt: [minor] Added short delay before destruction in whiteOutDestroyWithImage().
includes/clientside/static/functions.js
--- a/includes/clientside/static/functions.js	Sun Oct 04 03:59:50 2009 -0400
+++ b/includes/clientside/static/functions.js	Wed Oct 07 13:01:00 2009 -0400
@@ -691,7 +691,10 @@
   whitey.style.backgroundImage = 'url(' + image + ')';
   if ( whitey.isMiniPrompt && !nodestroy_mp )
   {
-    whiteOutDestroyOnMiniPrompt(whitey);
+    setTimeout(function()
+      {
+        whiteOutDestroyOnMiniPrompt(whitey);
+      }, 500);
     return true;
   }
   if ( aclDisableTransitionFX )