From f9c3a632cf46adac8936482ce1029a9b537b11a6 Mon Sep 17 00:00:00 2001 From: jlukic Date: Wed, 22 Jul 2015 11:31:03 -0400 Subject: [PATCH] Dropdown 'is disabled' did not return a value #2699 --- src/definitions/modules/dropdown.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index 1ad073157..41ac0a920 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -2672,7 +2672,7 @@ $.fn.dropdown = function(parameters) { ; }, disabled: function() { - $module.hasClass(className.disabled); + return $module.hasClass(className.disabled); }, focused: function() { return (document.activeElement === $module[0]);