mirror of
https://github.com/xvvvyz/tilde.git
synced 2026-03-11 14:44:24 +00:00
only clear input on ?
This commit is contained in:
parent
88cb8cc14b
commit
841f00f49e
1 changed files with 1 additions and 1 deletions
|
|
@ -129,6 +129,7 @@
|
|||
});
|
||||
|
||||
Commander.searchHelp.innerHTML = helpMessage;
|
||||
Commander.searchText.value = '';
|
||||
} else {
|
||||
Commander.location = 'https://www.google.com/search?q=' + q;
|
||||
|
||||
|
|
@ -139,7 +140,6 @@
|
|||
window.location.href = Commander.location;
|
||||
}
|
||||
|
||||
Commander.searchText.value = '';
|
||||
e.preventDefault();
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue