Added select all before searchbar global CTRL+V

This commit is contained in:
RemixDev 2020-08-31 12:58:10 +02:00
parent 5a01275e6c
commit 825b14361c
2 changed files with 5 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -65,7 +65,8 @@ document.addEventListener('paste', pasteEvent => {
}
}else{
let searchbar = document.querySelector('#searchbar')
searchbar.focus()
searchbar.select()
searchbar.setSelectionRange(0, 99999)
}
}
})