Browse Source

chore: Remove unnecessary variable

pull/2769/head
Igor Suleymanov 9 years ago
parent
commit
bfb1408509
1 changed files with 1 additions and 3 deletions
  1. 4
      src/definitions/modules/dropdown.js

4
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);

Loading…
Cancel
Save