Skip to content

Commit 0aa8c0e

Browse files
committed
Add empty href
1 parent 13ba0ca commit 0aa8c0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/layouts/Layout.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ document.addEventListener('DOMContentLoaded', () => {
143143

144144
e.preventDefault();
145145
e.stopPropagation();
146+
anchor.href = "";
146147

147148
const message = 'External links are disabled in standalone mode. Please visit the website to access external content.';
148149

0 commit comments

Comments
 (0)