Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions jquery.dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,6 @@ if (jQuery) (function ($) {
// Trigger the event early, so that it might be prevented on the visible popups
var hideEvent = jQuery.Event("hide");

$(document).find('.jq-dropdown:visible').each(function () {
var jqDropdown = $(this);
jqDropdown
.hide()
.removeData('jq-dropdown-trigger')
.trigger('hide', { jqDropdown: jqDropdown });
});

if(!hideEvent.isDefaultPrevented()) {
// Hide any jq-dropdown that may be showing
$(document).find('.jq-dropdown:visible').each(function () {
Expand Down