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 New Issue
Block a user