打开网页时获取先前状态

This commit is contained in:
xunbu committed 2025-05-25 18:03:29 +08:00
1 parent d5712862b2
commit f71a4a868e
2 files changed
+5 -5

No files matched your search

+2 -1
View File
@@ -18,7 +18,7 @@
}
summary {
border-bottom: 1px dashed #ccc;
border-bottom: 1px dashed #ccc;
padding-bottom: 0.5rem;
}
@@ -564,6 +564,7 @@
}
loadSettings();
startPolling();
platformSelect.addEventListener('change', updatePlatformUI);
apikeyInput.addEventListener('input', (e) => saveToStorage(`translator_platform_${platformSelect.value}_apikey`, e.target.value));