Closed Simble closed 11 years ago
Hi,
I love your drop down!
However, if I click outside of the menu (when it's open). I get the following error:
Uncaught TypeError: Object [object Object] has no method 'addBack'
It's caused by the following line: var targetGroup = event ? $(event.target).parents().addBack() : null;
I suppose the drop down is to close when a user clicks outside it. Could you guide towards fixing this issue?
Solved: jQuery 1.8+ required.
Hi,
I love your drop down!
However, if I click outside of the menu (when it's open). I get the following error:
Uncaught TypeError: Object [object Object] has no method 'addBack'
It's caused by the following line: var targetGroup = event ? $(event.target).parents().addBack() : null;
I suppose the drop down is to close when a user clicks outside it. Could you guide towards fixing this issue?