Merge branch 'main' into feat/sync
This commit is contained in:
commit
3e15377b57
6
main.js
6
main.js
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue