From 7db4d2715ca6f566ac6b351b12f7255a0ae109d0 Mon Sep 17 00:00:00 2001 From: eoghan Date: Thu, 31 Aug 2017 21:50:06 +0000 Subject: [PATCH] I believe this duplicated bit of code shouldn't have been kept on in bd607d001bc0a2470b4a385bc4df575502eaa49d --- jquery.dropdown.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/jquery.dropdown.js b/jquery.dropdown.js index f83f239..f3156ca 100644 --- a/jquery.dropdown.js +++ b/jquery.dropdown.js @@ -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 () {