Browse Source

Move animating back to original position

pull/1615/head
jlukic 9 years ago
parent
commit
196197b736
1 changed files with 3 additions and 3 deletions
  1. 6
      src/definitions/modules/sidebar.js

6
src/definitions/modules/sidebar.js

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

Loading…
Cancel
Save