Skip to content
Snippets Groups Projects
Unverified Commit a5295650 authored by OumaimaAMAL's avatar OumaimaAMAL Committed by GitHub
Browse files

Update index.html

parent 20b4d26d
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,12 @@ ...@@ -86,7 +86,12 @@
<script> <script>
function downloadOntology() { function downloadOntology() {
window.location.href = "dqa.rdf"; const link = document.createElement("a");
link.href = "dqa.rdf";
link.download = "dqa.rdf"; // Forcer le téléchargement
document.body.appendChild(link);
link.click();
document.body.removeChild(link);
} }
function redirectToOntology() { function redirectToOntology() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment