mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-01-26 22:23:16 -05:00
1fe5ef8e94
I've never seen this happen in Chrome; each load/reload starts fresh, so infinite is never selected. But on Firefox it seems to remember the setting across reloads, triggering this bug. This bug was introduced in 58152e8: it started parsing/normalizing the HTML form into a Javascript field on change. It didn't handle the initial load properly. Prior to that commit, fetch() simply read directly from the HTML form, so it didn't care about initial vs update.