jQuery-menu-aim
jQuery-menu-aim copied to clipboard
Work with new elements inserted into the menu
Wouldn't this be easier to do just by using the jQuery on method instead -
$menu
.on('mouseleave', mouseleaveMenu)
.on('mouseenter', options.rowSelector, mouseenterRow)
.on('mouseleave', options.rowSelector, mouseleaveRow)
.on('click', options.rowSelector, clickRow);