mirror of
https://github.com/9001/copyparty.git
synced 2026-06-19 12:42:51 -06:00
swap onclick for onfocus for searchbar for better accessibility
This commit is contained in:
parent
60b08f4db5
commit
aa5f39374e
|
|
@ -6693,7 +6693,7 @@ var search_ui = (function () {
|
|||
|
||||
var folderSearch = ebi('folder_search');
|
||||
folderSearch.placeholder = '🔎 search this folder';
|
||||
folderSearch.onclick = function(){
|
||||
folderSearch.onfocus = function(){
|
||||
ebi('srch_pathc').checked = true;
|
||||
var path = get_evpath();
|
||||
ebi('srch_pathv').value = path.slice(1, -1);
|
||||
|
|
|
|||
Loading…
Reference in a new issue