|
@ -434,7 +434,7 @@ $.fn.sidebar = function(parameters) { |
|
|
transition = module.get.transition(), |
|
|
transition = module.get.transition(), |
|
|
$transition = (transition == 'safe') |
|
|
$transition = (transition == 'safe') |
|
|
? $context |
|
|
? $context |
|
|
: transition == 'overlay' || module.othersActive() |
|
|
|
|
|
|
|
|
: (transition === 'overlay' || module.othersActive()) |
|
|
? $module |
|
|
? $module |
|
|
: $pusher, |
|
|
: $pusher, |
|
|
animate, |
|
|
animate, |
|
@ -449,8 +449,8 @@ $.fn.sidebar = function(parameters) { |
|
|
} |
|
|
} |
|
|
module.set.transition(); |
|
|
module.set.transition(); |
|
|
module.repaint(); |
|
|
module.repaint(); |
|
|
module.set.animating(); |
|
|
|
|
|
animate = function() { |
|
|
animate = function() { |
|
|
|
|
|
module.set.animating(); |
|
|
module.bind.clickaway(); |
|
|
module.bind.clickaway(); |
|
|
module.add.bodyCSS(); |
|
|
module.add.bodyCSS(); |
|
|
module.set.visible(); |
|
|
module.set.visible(); |
|
@ -494,9 +494,9 @@ $.fn.sidebar = function(parameters) { |
|
|
module.unbind.clickaway(); |
|
|
module.unbind.clickaway(); |
|
|
module.unbind.scrollLock(); |
|
|
module.unbind.scrollLock(); |
|
|
module.repaint(); |
|
|
module.repaint(); |
|
|
module.set.animating(); |
|
|
|
|
|
|
|
|
|
|
|
animate = function() { |
|
|
animate = function() { |
|
|
|
|
|
module.set.animating(); |
|
|
module.remove.visible(); |
|
|
module.remove.visible(); |
|
|
if(settings.dimPage && !module.othersVisible()) { |
|
|
if(settings.dimPage && !module.othersVisible()) { |
|
|
$pusher.removeClass(className.dimmed); |
|
|
$pusher.removeClass(className.dimmed); |
|
|