mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 10:01:39 -05:00
fix race condition breaking quickmarks
This commit is contained in:
parent
c828ffd484
commit
a0fc55fd9f
1 changed files with 4 additions and 3 deletions
|
@ -741,9 +741,10 @@ export async function quickmark(key: string) {
|
|||
}
|
||||
|
||||
let address = (await activeTab()).url
|
||||
bind("gn" + key, "tabopen", address)
|
||||
bind("go" + key, "open", address)
|
||||
bind("gw" + key, "winopen", address)
|
||||
// Have to await these or they race!
|
||||
await bind("gn" + key, "tabopen", address)
|
||||
await bind("go" + key, "open", address)
|
||||
await bind("gw" + key, "winopen", address)
|
||||
}
|
||||
|
||||
// }}}
|
||||
|
|
Loading…
Add table
Reference in a new issue