Sfoglia il codice sorgente

🐛fix: use href to link to the documentation page

Naz 1 mese fa
parent
commit
e9799cf521
1 ha cambiato i file con 1 aggiunte e 4 eliminazioni
  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">