There was an error while loading. Please reload this page.
1 parent e6320a1 commit 6e8063fCopy full SHA for 6e8063f
1 file changed
src/index.ts
@@ -67,7 +67,7 @@ document.addEventListener('DOMContentLoaded', () => {
67
// wait one second before submitting work
68
timerVar = setTimeout(() => {
69
tstlWorker.postMessage({tsStr: tsEditor.getValue()});
70
- history.pushState(null, "", "/?src=" + encodeURIComponent(tsEditor.getValue()));
+ window.location.replace("?src=" + encodeURIComponent(tsEditor.getValue()));
71
}, 500);
72
}))
73
0 commit comments