Give focus to the input field immediately (2)

This commit is contained in:
Martin Potier 2015-09-20 15:49:39 +02:00
parent fdb1af1827
commit bd6256d8ee
1 changed files with 3 additions and 3 deletions

View File

@ -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());