Fix double save when changing extension settings (#19)

handleExtensionChange was calling handleFormChange() explicitly, but the
change event also bubbles up to the form's onchange handler which calls
handleFormChange() again - causing two saves per change.

Now handleExtensionChange only calls checkCacheStatus() since the form's
onchange already handles saving.
This commit is contained in:
Christian Semmler 2026-02-02 17:07:11 -08:00 committed by GitHub
parent a680bc67ef
commit 006ba8472c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -182,7 +182,6 @@
}
function handleExtensionChange() {
handleFormChange();
checkCacheStatus();
}
</script>