Skip to content

Commit

Permalink
Selector cache schange #3183
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Feb 15, 2016
1 parent dbf9968 commit d8e505c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/definitions/modules/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -971,8 +971,9 @@ $.fn.dropdown = function(parameters) {
mouseenter: function(event) {
var
$target = $(event.target),
$subMenu = $(this).children(selector.menu),
$otherMenus = $(this).siblings(selector.item).children(selector.menu),
$item = $(this),
$subMenu = $item.children(selector.menu),
$otherMenus = $item.siblings(selector.item).children(selector.menu),
hasSubMenu = ($subMenu.length > 0),
isBubbledEvent = ($subMenu.find($target).length > 0)
;
Expand Down

0 comments on commit d8e505c

Please sign in to comment.