From 65ed27c3256634c1113cdf41d6788ae7e3355364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Garc=C3=ADa=20Iglesias?= Date: Thu, 20 Oct 2011 15:44:08 -0200 Subject: [PATCH] Added fade-in when opening the modal. --- Source/simple-modal.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/simple-modal.js b/Source/simple-modal.js index 4402b95..5850824 100644 --- a/Source/simple-modal.js +++ b/Source/simple-modal.js @@ -187,6 +187,8 @@ var SimpleModal = new Class({ this._injectAllButtons(); // Callback append this.options.onAppend(); + // Fade in + node.fade("hide").fade(1); return node; },