Remove mark from URL on escape. (#1427)
This commit is contained in:
parent
33d3d9c3ec
commit
09e7bb76dc
|
@ -427,6 +427,7 @@ window.search = window.search || {};
|
||||||
delete url.params[URL_MARK_PARAM];
|
delete url.params[URL_MARK_PARAM];
|
||||||
url.hash = "";
|
url.hash = "";
|
||||||
} else {
|
} else {
|
||||||
|
delete url.params[URL_MARK_PARAM];
|
||||||
delete url.params[URL_SEARCH_PARAM];
|
delete url.params[URL_SEARCH_PARAM];
|
||||||
}
|
}
|
||||||
// A new search will also add a new history item, so the user can go back
|
// A new search will also add a new history item, so the user can go back
|
||||||
|
|
Loading…
Reference in New Issue