added: hide search window on back button
This commit is contained in:
parent
5536821d2e
commit
6d3b743304
7
main.js
7
main.js
|
@ -1201,6 +1201,13 @@ function init()
|
||||||
window.onbeforeunload = checksaved;
|
window.onbeforeunload = checksaved;
|
||||||
window.onclick = focuseditor;
|
window.onclick = focuseditor;
|
||||||
|
|
||||||
|
history.pushState({}, '', '.');
|
||||||
|
window.onpopstate = function(evt)
|
||||||
|
{
|
||||||
|
history.pushState({}, '', '.');
|
||||||
|
esc(evt);
|
||||||
|
}
|
||||||
|
|
||||||
initsnippets();
|
initsnippets();
|
||||||
|
|
||||||
currenttag = "";
|
currenttag = "";
|
||||||
|
|
Loading…
Reference in New Issue