From 02e36abef624543422ccae05830a963a5b940bfa Mon Sep 17 00:00:00 2001 From: jlukic Date: Thu, 3 Oct 2013 15:27:48 -0400 Subject: [PATCH] Fixes regression with checkbox issue #154 --- src/modules/checkbox.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/modules/checkbox.js b/src/modules/checkbox.js index f60b80652..970cfc575 100755 --- a/src/modules/checkbox.js +++ b/src/modules/checkbox.js @@ -104,7 +104,7 @@ $.fn.checkbox = function(parameters) { }, enable: function() { - module.debug('Enabling checkbox'); + module.debug('Enabling checkbox', $input); $input .prop('checked', true) ; @@ -218,9 +218,6 @@ $.fn.checkbox = function(parameters) { if(moduleSelector) { title += ' \'' + moduleSelector + '\''; } - if($allModules.size() > 1) { - title += ' ' + '(' + $allModules.size() + ')'; - } if( (console.group !== undefined || console.table !== undefined) && performance.length > 0) { console.groupCollapsed(title); if(console.table) { @@ -334,7 +331,7 @@ $.fn.checkbox.settings = { }, selector : { - input : 'input[type=checkbox]', + input : 'input[type=checkbox], input[type=radio]', label : 'label' },