mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Fix missing brackets
This commit is contained in:
parent
d5192f6dac
commit
1457219c23
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ browser.runtime.onStartup.addListener(_ => {
|
|||
} else {
|
||||
native.run("hostname").then(hostname => {
|
||||
for (const host of hosts) {
|
||||
if (new RegExp(host).exec(hostname.content)) {
|
||||
if ((new RegExp(host)).exec(hostname.content)) {
|
||||
controller.acceptExCmd(aucmds[host])
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue