scale icon indicating copy to clipboard operation
scale copied to clipboard

Fix window crashing on repeated location change

Open chris-ldgk opened this issue 1 year ago • 0 comments

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.

chris-ldgk avatar Jun 30 '24 11:06 chris-ldgk