added: hide search window on back button

This commit is contained in:
quenousimporte 2023-07-05 16:36:45 +02:00
parent 5536821d2e
commit 6d3b743304
1 changed files with 7 additions and 0 deletions

View File

@ -1201,6 +1201,13 @@ function init()
window.onbeforeunload = checksaved;
window.onclick = focuseditor;
history.pushState({}, '', '.');
window.onpopstate = function(evt)
{
history.pushState({}, '', '.');
esc(evt);
}
initsnippets();
currenttag = "";