자동 위치 갱신 5초 명령 복원
This commit is contained in:
1 parent
5e8b037d99
commit
bb070e82c2
3 files changed
+7
-65
No files matched your search
+1
-1
@@ -1102,7 +1102,7 @@ document.getElementById('autoUpdateSwitch').addEventListener('change', () => {
|
||||
setInterval(() => {
|
||||
if (!findmydeviceAuthenticated) return;
|
||||
const switchEl = document.getElementById('autoUpdateSwitch');
|
||||
if (switchEl?.checked && !switchEl.disabled) {
|
||||
if (switchEl?.checked || highAccuracyModeActive) {
|
||||
callDeviceWebhook('auto_tick');
|
||||
}
|
||||
}, 5000);
|
||||
|
||||
Reference in new issue
Block a user