|
@@ -1286,8 +1286,11 @@
|
|
|
$('.my-colorpicker2').on('colorpickerChange', function(event) {
|
|
|
$('.my-colorpicker2 .fa-square').css('color', event.color.toString());
|
|
|
});
|
|
|
-
|
|
|
- $("[data-bootstrap-switch]").bootstrapSwitch();
|
|
|
+
|
|
|
+ $("input[data-bootstrap-switch]").each(function(){
|
|
|
+ $(this).bootstrapSwitch('state', $(this).prop('checked'));
|
|
|
+ });
|
|
|
+
|
|
|
})
|
|
|
</script>
|
|
|
</body>
|