Browse Source

Add detachable setting

pull/510/head
Mohammad Younes 11 years ago
parent
commit
77f707acee
1 changed files with 5 additions and 0 deletions
  1. 5
      src/modules/modal.js

5
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,

Loading…
Cancel
Save