Skip to content

Commit 4564835

Browse files
authored
Fixed over_sb error
Console was throwing not defined error. Fixed it by adding var
1 parent b9a703e commit 4564835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.auto-complete.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
});
8282

8383
that.on('blur.autocomplete', function(){
84-
try { over_sb = $('.autocomplete-suggestions:hover').length; } catch(e){ over_sb = 0; } // IE7 fix :hover
84+
try { var over_sb = $('.autocomplete-suggestions:hover').length; } catch(e){ over_sb = 0; } // IE7 fix :hover
8585
if (!over_sb) {
8686
that.last_val = that.val();
8787
that.sc.hide();

0 commit comments

Comments
 (0)