changed: load previous on back button if search window if hidden

This commit is contained in:
quenousimporte 2023-07-05 16:42:23 +02:00
parent 6d3b743304
commit 269d3d4293
1 changed files with 8 additions and 1 deletions

View File

@ -1205,7 +1205,14 @@ function init()
window.onpopstate = function(evt)
{
history.pushState({}, '', '.');
esc(evt);
if (!searchdialog.hidden)
{
esc(evt);
}
else
{
loadprevious();
}
}
initsnippets();