Merge pull request #5151 from AntonKhorev/no-history-and-export-buttons

Move History and Export buttons to secondary nav
This commit is contained in:
Andy Allan 2024-11-13 19:15:59 +00:00 committed by GitHub
commit 7f611b295f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 44 additions and 26 deletions

View file

@ -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");
}
}
});