diff --git a/src/definitions/modules/sidebar.js b/src/definitions/modules/sidebar.js index 59a5c5f08..c88ee9eea 100644 --- a/src/definitions/modules/sidebar.js +++ b/src/definitions/modules/sidebar.js @@ -261,7 +261,7 @@ $.fn.sidebar = function(parameters) { ; 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.error(error.movedSidebar, element); $module.detach().prependTo($context);