Merge pull request #5151 from AntonKhorev/no-history-and-export-buttons
Move History and Export buttons to secondary nav
This commit is contained in:
commit
7f611b295f
5 changed files with 44 additions and 26 deletions
|
@ -405,6 +405,9 @@ $(document).ready(function () {
|
|||
|
||||
if (OSM.router.route(this.pathname + this.search + this.hash)) {
|
||||
e.preventDefault();
|
||||
if (this.pathname !== "/directions") {
|
||||
$("header").addClass("closed");
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue