diff options
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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"; +}); |
