Give focus to the input field immediately (2)
This commit is contained in:
parent
fdb1af1827
commit
bd6256d8ee
1 changed files with 3 additions and 3 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue