diff --git a/src/composables/code.ts b/src/composables/code.ts index a295903..4e32d7a 100644 --- a/src/composables/code.ts +++ b/src/composables/code.ts @@ -91,6 +91,10 @@ export function reset() { cache.code[code.language].value = sources[code.language] output.value = "" status.value = Status.NotStarted + const u = new URL(window.location.href) + u.hash = "" + u.search = "" + window.location.href = u.href } export async function run() {