From bd6256d8ee9e60c1fbf47fdc34f1b3aa72c5c10d Mon Sep 17 00:00:00 2001 From: Martin Potier Date: Sun, 20 Sep 2015 15:49:39 +0200 Subject: [PATCH] Give focus to the input field immediately (2) --- cherche.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cherche.js b/cherche.js index 1e99277..1d79ba3 100644 --- a/cherche.js +++ b/cherche.js @@ -222,9 +222,9 @@ function main() { //console.log(words.data); $( "#question" ).focus(); - $( "#question" ).click(function (e) { - $( "#question" ).val(""); - }); + //$( "#question" ).click(function (e) { + // $( "#question" ).val(""); + //}); $( "#question" ).keyup(function (e) { var str = removeDiacritics($( "#question" ).val());