mirror of
https://github.com/isledecomp/isle.pizza.git
synced 2026-02-28 22:07:39 +00:00
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:
parent
a680bc67ef
commit
006ba8472c
@ -182,7 +182,6 @@
|
||||
}
|
||||
|
||||
function handleExtensionChange() {
|
||||
handleFormChange();
|
||||
checkCacheStatus();
|
||||
}
|
||||
</script>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user