mirror of
https://gitlab.com/RemixDev/deemix-webui.git
synced 2025-01-31 18:28:30 +00:00
Added select all before searchbar global CTRL+V
This commit is contained in:
parent
5a01275e6c
commit
825b14361c
File diff suppressed because one or more lines are too long
|
@ -65,7 +65,8 @@ document.addEventListener('paste', pasteEvent => {
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
let searchbar = document.querySelector('#searchbar')
|
let searchbar = document.querySelector('#searchbar')
|
||||||
searchbar.focus()
|
searchbar.select()
|
||||||
|
searchbar.setSelectionRange(0, 99999)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue