diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-04-19 10:29:55 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-04-19 10:29:55 -0400 |
commit | 72a0f5c5129b77c6e06c9936d290e89bd35a9eaa (patch) | |
tree | c9198f00c81e6a9dd548a2f11e61d9b42519dc0f /ui/jquery.ui.menu.js | |
parent | 0a5a9090f827cd186ac486344327bcbb3901fd34 (diff) | |
download | jquery-ui-72a0f5c5129b77c6e06c9936d290e89bd35a9eaa.tar.gz jquery-ui-72a0f5c5129b77c6e06c9936d290e89bd35a9eaa.zip |
Menu: Lint.
Diffstat (limited to 'ui/jquery.ui.menu.js')
-rw-r--r-- | ui/jquery.ui.menu.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.menu.js b/ui/jquery.ui.menu.js index b991b30e8..abc759f1a 100644 --- a/ui/jquery.ui.menu.js +++ b/ui/jquery.ui.menu.js @@ -70,7 +70,7 @@ $.widget( "ui.menu", { }, "click .ui-menu-item:has(a)": function( event ) { var target = $( event.target ); - if ( target[0] != currentEventTarget ) { + if ( target[0] !== currentEventTarget ) { currentEventTarget = target[0]; target.one( "click.menu", function( event ) { currentEventTarget = null; @@ -305,7 +305,7 @@ $.widget( "ui.menu", { focus: function( event, item ) { var nested, borderTop, paddingTop, offset, scroll, elementHeight, itemHeight; - this.blur( event, event && event.type == "focus" ); + this.blur( event, event && event.type === "focus" ); if ( this._hasScroll() ) { borderTop = parseFloat( $.css( this.activeMenu[0], "borderTopWidth" ) ) || 0; |