I totally saw that
This commit is contained in:
parent
33184af8b3
commit
6eaa107b8c
1 changed files with 0 additions and 1 deletions
|
@ -1,6 +1,5 @@
|
||||||
ready = function() {
|
ready = function() {
|
||||||
$.each($('[data-switch]'), function(key, value){
|
$.each($('[data-switch]'), function(key, value){
|
||||||
console.log(value.getAttribute('data-offText'));
|
|
||||||
$(this).bootstrapSwitch({ offText: value.getAttribute('data-offText'), onText: value.getAttribute('data-onText')});
|
$(this).bootstrapSwitch({ offText: value.getAttribute('data-offText'), onText: value.getAttribute('data-onText')});
|
||||||
});
|
});
|
||||||
$('[data-switch]').on('switchChange.bootstrapSwitch', function(event, state) {
|
$('[data-switch]').on('switchChange.bootstrapSwitch', function(event, state) {
|
||||||
|
|
Loading…
Reference in a new issue