Merge branch 'main' into feat/sync

This commit is contained in:
quenousimporte 2024-02-01 13:00:20 +01:00
commit 3e15377b57
1 changed files with 5 additions and 1 deletions

View File

@ -772,7 +772,11 @@ function showlinkdialog(link)
a.setAttribute("href", link); a.setAttribute("href", link);
a.setAttribute("target", "_blank"); a.setAttribute("target", "_blank");
div.onclick = removelinkdialog; div.onclick = removelinkdialog;
a.innerText = link; a.innerText = "Open on " +
link.replace("https://", "")
.replace("http://", "")
.replace("www.", "")
.replace(/\/.*/, "");
} }
else else
{ {