We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 617f980 commit 281bf18Copy full SHA for 281bf18
1 file changed
content/playground.md
@@ -107,7 +107,7 @@ document.querySelectorAll('.playground-example').forEach(function(btn) {
107
// Reflect the clicked example in the URL so it can be shared/bookmarked.
108
var url = new URL(window.location.href);
109
url.searchParams.set('cmd', cmd);
110
- history.replaceState(null, '', url);
+ window.history.replaceState(null, '', url);
111
document.getElementById('wasm-playground').scrollIntoView({ behavior: 'smooth' });
112
if (window.runInTerminal) {
113
window.runInTerminal(cmd);
0 commit comments