From 77f707acee369c82f67766743feeb90ab59a46c3 Mon Sep 17 00:00:00 2001 From: Mohammad Younes Date: Sun, 5 Jan 2014 23:20:13 +0200 Subject: [PATCH] Add detachable setting --- src/modules/modal.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modules/modal.js b/src/modules/modal.js index 3cf0f7dbf..31e255a84 100755 --- a/src/modules/modal.js +++ b/src/modules/modal.js @@ -78,6 +78,10 @@ $.fn.modal = function(parameters) { } }) ; + + if(settings.detachable) + $dimmable.dimmer('add content', $module); + $dimmer = $dimmable .dimmer('get dimmer') ; @@ -661,6 +665,7 @@ $.fn.modal.settings = { closable : true, context : 'body', + detachable : false, duration : 500, easing : 'easeOutExpo', offset : 0,