I totally saw that

This commit is contained in:
tl3ilaxu 2016-03-08 16:49:23 +01:00
parent 33184af8b3
commit 6eaa107b8c
1 changed files with 0 additions and 1 deletions

View File

@ -1,6 +1,5 @@
ready = function() {
$.each($('[data-switch]'), function(key, value){
console.log(value.getAttribute('data-offText'));
$(this).bootstrapSwitch({ offText: value.getAttribute('data-offText'), onText: value.getAttribute('data-onText')});
});
$('[data-switch]').on('switchChange.bootstrapSwitch', function(event, state) {