I'm using Chosen inside your dropdown element and because of that I need to adjust the script to avoid that the dropdown box is closing when I click it. This is because chosen is an "A" element.
I add the following:
if (targetGroup.is('.chosen-container')) { return; }
In the following if-statement:
if (targetGroup && targetGroup.is('.dropdown'))
Any change you could add support things like this? For example have a config variable where you can specify specific elements that will not close it.
I'm using Chosen inside your dropdown element and because of that I need to adjust the script to avoid that the dropdown box is closing when I click it. This is because chosen is an "A" element.
I add the following:
if (targetGroup.is('.chosen-container')) { return; }
In the following if-statement:
if (targetGroup && targetGroup.is('.dropdown'))
Any change you could add support things like this? For example have a config variable where you can specify specific elements that will not close it.
Thanks.