mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 09:31:41 -05:00
Add multiword support to google
This commit is contained in:
parent
238f4c1063
commit
7daff9234f
1 changed files with 2 additions and 2 deletions
|
@ -151,8 +151,8 @@ export function open(url: string) {
|
|||
/** Custom open. Remove later */
|
||||
// Hard coded search but lack thereof was annoying
|
||||
//#content
|
||||
export function google(query: string[]) {
|
||||
window.location.href = "https://www.google.co.uk/search?q=" + query //.join("+")
|
||||
export function google(...query: string[]) {
|
||||
window.location.href = "https://www.google.co.uk/search?q=" + query.join("+")
|
||||
}
|
||||
|
||||
//#content_helper
|
||||
|
|
Loading…
Add table
Reference in a new issue