weird
This commit is contained in:
parent
dd7ca72f3a
commit
52a4f3c06d
|
|
@ -22,6 +22,10 @@
|
|||
"typescript": "^5"
|
||||
},
|
||||
"dependencies": {
|
||||
"hono": "^4.9.10",
|
||||
"kleur": "^4.1.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bun": "latest"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
////
|
||||
// version: 52aae6c
|
||||
// version: dd7ca72
|
||||
|
||||
// src/js/dom.ts
|
||||
var content2 = $("content");
|
||||
|
|
@ -1212,7 +1212,7 @@ async function handleClick2(e) {
|
|||
e.preventDefault();
|
||||
await runCommand(href.slice(1));
|
||||
focusInput();
|
||||
} else if (!isBrowsing()) {
|
||||
} else if (!isBrowsing() && !e.metaKey) {
|
||||
e.preventDefault();
|
||||
openBrowser(href);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ async function handleClick(e: MouseEvent) {
|
|||
e.preventDefault()
|
||||
await runCommand(href.slice(1))
|
||||
focusInput()
|
||||
} else if (!isBrowsing()) {
|
||||
} else if (!isBrowsing() && !e.metaKey) {
|
||||
e.preventDefault()
|
||||
openBrowser(href)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user