Skip to content

Commit 5ed1400

Browse files
committed
fixed syntax error
Was: if ( isCollapsed ){ return; } Now: if ( isCollapsed() ){ return; }
1 parent d0320cb commit 5ed1400

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bootstrap-hover-dropdown.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
openDropdown(event);
5555
}, function () {
56-
if ( isCollapsed ){ return; }
56+
if ( isCollapsed() ){ return; }
5757
timeout = window.setTimeout(function () {
5858
$parent.removeClass('open');
5959
$this.trigger(hideEvent);
@@ -91,7 +91,7 @@
9191
});
9292

9393
function openDropdown(event) {
94-
if ( isCollapsed ){ return; }
94+
if ( isCollapsed() ){ return; }
9595

9696
$allDropdowns.find(':focus').blur();
9797

0 commit comments

Comments
 (0)