fix: link popup timeout

This commit is contained in:
quenousimporte 2023-11-13 21:24:49 +01:00
parent b0c9881768
commit b61688a486
1 changed files with 3 additions and 1 deletions

View File

@ -39,6 +39,7 @@ var lastsaved = "";
var pending = false;
var settings = null;
var tags = null;
var linkpopupid = null;
var stat =
{
@ -825,7 +826,8 @@ function showlinkdialog(link)
div.appendChild(a);
setTimeout(removelinkdialog, 3000);
clearTimeout(linkpopupid);
linkpopupid = setTimeout(removelinkdialog, 3000);
notepage.appendChild(div);
}