From bfb140850989ce144675dda5a2a2b918bc2aebe3 Mon Sep 17 00:00:00 2001 From: Igor Suleymanov Date: Mon, 3 Aug 2015 20:13:31 +0300 Subject: [PATCH] chore: Remove unnecessary variable --- src/definitions/modules/dropdown.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index 0980fca35..71bcb06f6 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -423,9 +423,7 @@ $.fn.dropdown = function(parameters) { ; if( module.is.active() ) { module.debug('Hiding dropdown'); - var hideDropdown = settings.onHide.call(element); - - if (hideDropdown === false) { + if(settings.onHide.call(element) === false) { module.animate.hide(function() { module.remove.visible(); callback.call(element);