From a470613d241d4622c199c8dee19cdc968236a5e7 Mon Sep 17 00:00:00 2001 From: Knah Tsaeb Date: Mon, 12 Oct 2020 15:19:13 +0200 Subject: [PATCH] Add mardown link (thumb + link to full) --- templates/NeoKT.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/NeoKT.html b/templates/NeoKT.html index 2eda01a..aa668d3 100644 --- a/templates/NeoKT.html +++ b/templates/NeoKT.html @@ -238,7 +238,7 @@ document.getElementById("comment01").innerHTML = element.dataset.desc; document.getElementById("thumburl").innerHTML = "Thumbnail : " + element.firstElementChild.currentSrc; document.getElementById("fullurl").innerHTML = "Full : " + element.href; - document.getElementById("markdown").innerHTML = "Markdown : [![](" + element.href + "](" + element.href + ")"; + document.getElementById("markdown").innerHTML = "Markdown : [![](" + element.firstElementChild.currentSrc + "](" + element.href + ")"; if (typeof element.dataset.video !== 'undefined') { document.getElementById("img01").style.display = "none";