|
|
@ -989,6 +989,9 @@ |
|
|
|
if (!toggle) { |
|
|
|
if (!toggle) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(toggle.classList.contains('disabled')) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var handle = toggle.querySelector('.toggle-handle'); |
|
|
|
var handle = toggle.querySelector('.toggle-handle'); |
|
|
|
var toggleWidth = toggle.clientWidth; |
|
|
|
var toggleWidth = toggle.clientWidth; |
|
|
@ -1009,6 +1012,9 @@ |
|
|
|
if (!toggle) { |
|
|
|
if (!toggle) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(toggle.classList.contains('disabled')) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var handle = toggle.querySelector('.toggle-handle'); |
|
|
|
var handle = toggle.querySelector('.toggle-handle'); |
|
|
|
var current = e.touches[0]; |
|
|
|
var current = e.touches[0]; |
|
|
@ -1041,6 +1047,9 @@ |
|
|
|
if (!toggle) { |
|
|
|
if (!toggle) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(toggle.classList.contains('disabled')) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
var handle = toggle.querySelector('.toggle-handle'); |
|
|
|
var handle = toggle.querySelector('.toggle-handle'); |
|
|
|
var toggleWidth = toggle.clientWidth; |
|
|
|
var toggleWidth = toggle.clientWidth; |
|
|
|