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