scale
scale copied to clipboard
Fix window crashing on repeated location change
The app was calling window.location.hash repeatedly on slider changes, causing the browser to crash the app due to too many location changes.
This change fixes that problem by using window.history.pushState instead of window.location.hash, which rewrites the URL in the browser without telling it to actually do any location changes.