Skip to content

Commit 5d9a8bc

Browse files
authored
fix(checkbox): remove the change trigger for enable and disable behavior
As discussed in #1728, triggering the onChange callback in the enable and disable behaviors is useless so I've just removed it.
1 parent bc6c8ad commit 5d9a8bc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/definitions/modules/checkbox.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,6 @@ $.fn.checkbox = function(parameters) {
323323
settings.onEnable.call(input);
324324
// preserve legacy callbacks
325325
settings.onEnabled.call(input);
326-
module.trigger.change();
327326
}
328327
},
329328

@@ -338,7 +337,6 @@ $.fn.checkbox = function(parameters) {
338337
settings.onDisable.call(input);
339338
// preserve legacy callbacks
340339
settings.onDisabled.call(input);
341-
module.trigger.change();
342340
}
343341
},
344342

0 commit comments

Comments
 (0)