Update tutorial text.md (#6329)

The component referenced in text.md is no longer on line 33 of the provided code.
pull/7738/head
Walker Lockard 5 years ago committed by GitHub
parent e03790a19c
commit 44e86439de

@ -4,7 +4,7 @@ title: <svelte:window>
Just as you can add event listeners to any DOM element, you can add event listeners to the `window` object with `<svelte:window>`.
On line 33, add the `keydown` listener:
On line 11, add the `keydown` listener:
```html
<svelte:window on:keydown={handleKeydown}/>

Loading…
Cancel
Save