Browse Source

Only call transition reset on modal dimmer hide when module available

pull/627/head
robertoles 10 years ago
parent
commit
c036282550
1 changed files with 5 additions and 3 deletions
  1. 8
      src/modules/modal.js

8
src/modules/modal.js

@ -305,9 +305,11 @@ $.fn.modal = function(parameters) {
; ;
} }
$dimmable.dimmer('hide', function() { $dimmable.dimmer('hide', function() {
$module
.transition('reset')
;
if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) {
$module
.transition('reset')
;
}
module.remove.active(); module.remove.active();
}); });
}, },

Loading…
Cancel
Save