We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5932da2 commit 2f22b4eCopy full SHA for 2f22b4e
1 file changed
index.html
@@ -2402,7 +2402,7 @@ <h2>
2402
const moon = moonPhases[phaseIndex];
2403
const url = new URL(window.location);
2404
url.searchParams.set('m', moon);
2405
- window.history.pushState({ moon }, '', url);
+ window.history.replaceState({ moon }, '', url);
2406
phaseIndex = (phaseIndex + 1) % moonPhases.length;
2407
}
2408
0 commit comments