Pārlūkot izejas kodu

🐛fix: use href to link to the documentation page

Naz 1 mēnesi atpakaļ
vecāks
revīzija
e9799cf521
1 mainītis faili ar 1 papildinājumiem un 4 dzēšanām
  1. 1 4
      src/lib/share/Header.svelte

+ 1 - 4
src/lib/share/Header.svelte

@@ -16,10 +16,7 @@
         <i class="fa-solid fa-flask"></i> RhazesEMR
       </h1>
     </button>
-    <Button
-      onclick={() => (window.location.href = "https://docs.rhazesemr.info")}
-      variant="ghost"
-    >
+    <Button href="https://docs.rhazesemr.info" variant="ghost">
       <h1 class="text-lg">Docs</h1>
     </Button>
     <Button onclick={() => goto("/download")} variant="ghost">