From 0758a6a5d180a06b27ad84c7696f1d5935272ae6 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Wed, 15 May 2019 10:40:44 -0400 Subject: [PATCH] site: fix enter handling in animate example --- site/content/examples/10-animations/00-animate/App.svelte | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/site/content/examples/10-animations/00-animate/App.svelte b/site/content/examples/10-animations/00-animate/App.svelte index 6f0163e4b8..faba1dd062 100644 --- a/site/content/examples/10-animations/00-animate/App.svelte +++ b/site/content/examples/10-animations/00-animate/App.svelte @@ -44,12 +44,6 @@ function remove(todo) { todos = todos.filter(t => t !== todo); } - - function handleKeydown(event) { - if (event.which === 13) { - addTodo(event.target); - } - }
- +

todo