|
@ -261,7 +261,7 @@ $.fn.sidebar = function(parameters) { |
|
|
; |
|
|
; |
|
|
module.refresh(); |
|
|
module.refresh(); |
|
|
} |
|
|
} |
|
|
if($module.nextAll(selector.pusher).size() == 0 || $module.nextAll(selector.pusher)[0] !== $pusher[0]) { |
|
|
|
|
|
|
|
|
if($module.nextAll(selector.pusher).size() === 0 || $module.nextAll(selector.pusher)[0] !== $pusher[0]) { |
|
|
module.debug('Moved sidebar to correct parent element'); |
|
|
module.debug('Moved sidebar to correct parent element'); |
|
|
module.error(error.movedSidebar, element); |
|
|
module.error(error.movedSidebar, element); |
|
|
$module.detach().prependTo($context); |
|
|
$module.detach().prependTo($context); |
|
|