Open eoghanmurray opened 6 years ago
:-1: this is not duplicate, it doesn't execute the event, only runs the trigger - so it might be cancelled by elements higher up the DOM.
Hmmm, are you talking about the call to jQuery.Event("hide")
, because I'm not proposing removing that.
This screenshot should better illustrate the potentially duplicated code I'm talking about:
http://www.awesomescreenshot.com/image/2781882/9ec5a15cb7313fed6b7a83f1ab586352
I think this was a copy/paste error in https://github.com/soundasleep/jquery-dropdown/commit/bd607d001bc0a2470b4a385bc4df575502eaa49d but I'm not 100% so opening pull request for discussion.
Anyone know how I might ask @duizendnegen (the author)?