|
|
@ -408,10 +408,8 @@ $.fn.modal = function(parameters) { |
|
|
|
hideDimmer: function() { |
|
|
|
if( $dimmable.dimmer('is animating') || ($dimmable.dimmer('is active')) ) { |
|
|
|
$dimmable.dimmer('hide', function() { |
|
|
|
if(settings.transition && $.fn.transition !== undefined && $module.transition('is supported')) { |
|
|
|
module.remove.clickaway(); |
|
|
|
module.remove.screenHeight(); |
|
|
|
} |
|
|
|
module.remove.clickaway(); |
|
|
|
module.remove.screenHeight(); |
|
|
|
}); |
|
|
|
} |
|
|
|
else { |
|
|
@ -497,14 +495,18 @@ $.fn.modal = function(parameters) { |
|
|
|
; |
|
|
|
} |
|
|
|
}, |
|
|
|
screenHeight: function() { |
|
|
|
if(module.cache.height > module.cache.pageHeight) { |
|
|
|
module.debug('Removing page height'); |
|
|
|
$body |
|
|
|
.css('height', '') |
|
|
|
; |
|
|
|
bodyStyle: function() { |
|
|
|
if($body.attr('style') === '') { |
|
|
|
module.verbose('Removing style attribute'); |
|
|
|
$body.removeAttr('style'); |
|
|
|
} |
|
|
|
}, |
|
|
|
screenHeight: function() { |
|
|
|
module.debug('Removing page height'); |
|
|
|
$body |
|
|
|
.css('height', '') |
|
|
|
; |
|
|
|
}, |
|
|
|
keyboardShortcuts: function() { |
|
|
|
module.verbose('Removing keyboard shortcuts'); |
|
|
|
$document |
|
|
|