diff --git a/_internal/js/script.js b/_internal/js/script.js index b490674..ae92e6e 100644 --- a/_internal/js/script.js +++ b/_internal/js/script.js @@ -51,6 +51,6 @@ function showFileModal(target, filename, content) { clone.querySelector("a").href = target.href // add into modal and show it - document.querySelector(".modal-body").appendChild(clone) + document.querySelector(".modal-body").innerHTML = clone document.getElementById("modal").style.display = "block" }