We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dc6344 commit 1df8dd0Copy full SHA for 1df8dd0
src/routes/tutorial/[slug]/+page.svelte
@@ -101,6 +101,11 @@
101
let history_fwd = [];
102
let ignore_path_change = false;
103
104
+ function reset_history() {
105
+ history_bwd = [];
106
+ history_fwd = [];
107
+ }
108
+
109
onMount(() => {
110
function destroy() {
111
if (adapter) {
@@ -127,6 +132,7 @@
127
132
loading = true;
128
133
129
134
reset_complete_states();
135
+ reset_history();
130
136
131
137
await reset_adapter($files);
138
0 commit comments