diff options
-rw-r--r-- | data/speeddial-head.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/speeddial-head.html b/data/speeddial-head.html index c42141e6..301215f6 100644 --- a/data/speeddial-head.html +++ b/data/speeddial-head.html @@ -136,6 +136,11 @@ function input_lose_focus (ev) { // 13 is the key code for enter if(ev.keyCode == 13) ev.target.blur(); + // 27 is the key code for escape + if(ev.keyCode == 27) { + ev.target.value = previousName; + ev.target.blur(); + } } function add_tile (ev) { |