mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-21 19:26:41 +02:00
ecfe8ce943
If localStorage writes were free, we'd want to just save on every history change. Second best is to debounce the write. Writing on mode change is problematic; it sometimes happens when not desired and sometimes doesn't happen when desired. Fixes #1857.