Browse Source

Fixes initialized checkbox double trigger with for/id match. #2572 #2581

pull/2596/head
jlukic 9 years ago
parent
commit
2fc6cf1bce
1 changed files with 1 additions and 0 deletions
  1. 1
      src/definitions/modules/checkbox.js

1
src/definitions/modules/checkbox.js

@ -177,6 +177,7 @@ $.fn.checkbox = function(parameters) {
return; return;
} }
module.toggle(); module.toggle();
event.preventDefault();
}, },
keydown: function(event) { keydown: function(event) {
var var

Loading…
Cancel
Save