diff --git a/examples/todomvc/index.html b/examples/todomvc/index.html index 5a979c61..edf28d84 100644 --- a/examples/todomvc/index.html +++ b/examples/todomvc/index.html @@ -15,7 +15,7 @@ autofocus autocomplete="off" placeholder="What needs to be done?" v-model="newTodo" - @keypress.enter="addTodo"> + @keyup.enter="addTodo">
@@ -33,7 +33,7 @@ v-model="todo.title" v-todo-focus="todo == editedTodo" @blur="doneEdit(todo)" - @keypress.enter="doneEdit(todo)" + @keyup.enter="doneEdit(todo)" @keyup.esc="cancelEdit(todo)">