changed: load previous on back button if search window if hidden
This commit is contained in:
parent
6d3b743304
commit
269d3d4293
9
main.js
9
main.js
|
@ -1205,7 +1205,14 @@ function init()
|
||||||
window.onpopstate = function(evt)
|
window.onpopstate = function(evt)
|
||||||
{
|
{
|
||||||
history.pushState({}, '', '.');
|
history.pushState({}, '', '.');
|
||||||
esc(evt);
|
if (!searchdialog.hidden)
|
||||||
|
{
|
||||||
|
esc(evt);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
loadprevious();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
initsnippets();
|
initsnippets();
|
||||||
|
|
Loading…
Reference in New Issue