Skip to content

Commit 5cb24b8

Browse files
committed
rebuilt distributables
1 parent 885eda1 commit 5cb24b8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

dist/BootstrapMenu.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,12 @@
233233

234234
var $target = $(evt.target);
235235

236+
// either a divider or the menu (not an option inside it) was clicked,
237+
// don't do anything
238+
if ($target.is('.divider') || $target.is('.dropdown-menu')) {
239+
return;
240+
}
241+
236242
var $action = $target.is('[data-action]') ? $target : $target.closest('[data-action]');
237243
var actionId = $action.data('action');
238244

0 commit comments

Comments
 (0)