|
|
|
@ -37,6 +37,9 @@
|
|
|
|
|
if (!toggle) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if(toggle.classList.contains('disabled')) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var handle = toggle.querySelector('.toggle-handle'); |
|
|
|
|
var toggleWidth = toggle.clientWidth; |
|
|
|
@ -57,6 +60,9 @@
|
|
|
|
|
if (!toggle) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if(toggle.classList.contains('disabled')) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var handle = toggle.querySelector('.toggle-handle'); |
|
|
|
|
var current = e.touches[0]; |
|
|
|
@ -89,6 +95,9 @@
|
|
|
|
|
if (!toggle) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
if(toggle.classList.contains('disabled')) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
var handle = toggle.querySelector('.toggle-handle'); |
|
|
|
|
var toggleWidth = toggle.clientWidth; |
|
|
|
|