Skip to content

Commit d6b38af

Browse files
committed
remove unused arg
1 parent cfe006f commit d6b38af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/tutorial/[slug]/Editor.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
import('$lib/client/monaco/monaco.js').then(({ monaco }) => {
4949
if (destroyed) return;
5050
instance = init(monaco, dark_mode);
51-
51+
5252
document.fonts.ready.then(() => {
5353
monaco.editor.remeasureFonts();
5454
});
@@ -265,7 +265,7 @@
265265
clearTimeout(remove_focus_timeout);
266266
preserve_editor_focus = true;
267267
}}
268-
on:focusout={(e) => {
268+
on:focusout={() => {
269269
// Heuristic: user did refocus themmselves if iframe_took_focus
270270
// doesn't happen in the next few miliseconds. Needed
271271
// because else navigations inside the iframe refocus the editor.

0 commit comments

Comments
 (0)