aboutsummaryrefslogtreecommitdiff
path: root/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/index.ts b/index.ts
index f67b2c6..72679ce 100644
--- a/index.ts
+++ b/index.ts
@@ -1 +1,6 @@
-console.log("Hello via Bun!"); \ No newline at end of file
+import 'htmx.org';
+
+document.querySelectorAll("a").forEach(e => {
+ if (e.href.startsWith(window.location.origin)) return;
+ e.target = "_blank";
+});