Browse Source

Making JSHint happy

pull/1407/head
jlukic 10 years ago
parent
commit
1d5ee28bb9
1 changed files with 1 additions and 1 deletions
  1. 2
      src/definitions/modules/sidebar.js

2
src/definitions/modules/sidebar.js

@ -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);

Loading…
Cancel
Save