1 parent 4df269d commit 492e351Copy full SHA for 492e351
2 files changed
js/flatui-checkbox.js
@@ -102,7 +102,7 @@
102
}
103
});
104
105
- $(window).on('load', function () {
+ $(function () {
106
$('[data-toggle="checkbox"]').each(function () {
107
var $checkbox = $(this);
108
$checkbox.checkbox();
js/flatui-radio.js
@@ -131,7 +131,7 @@
131
132
133
134
135
$('[data-toggle="radio"]').each(function () {
136
var $radio = $(this);
137
$radio.radio();
0 commit comments