Make active highlighting work properly again
This commit is contained in:
parent
8ec415b060
commit
b507f6c887
2 changed files with 3 additions and 7 deletions
|
@ -55,12 +55,10 @@ function startExport(sidebarHtml) {
|
|||
formatChanged();
|
||||
setBounds(map.getExtent());
|
||||
|
||||
$("#viewanchor").removeClass("active");
|
||||
$("#exportanchor").addClass("active");
|
||||
$("body").removeClass("site-index").addClass("site-export");
|
||||
|
||||
$("#sidebar").one("closed", function () {
|
||||
$("#viewanchor").addClass("active");
|
||||
$("#exportanchor").removeClass("active");
|
||||
$("body").removeClass("site-export").addClass("site-index");
|
||||
|
||||
clearBox();
|
||||
clearMarker();
|
||||
|
|
|
@ -331,9 +331,7 @@ h2 {
|
|||
body.site-index #tabnav a#viewanchor,
|
||||
body.site-edit #tabnav a#editanchor,
|
||||
body.changeset-list #tabnav a#historyanchor,
|
||||
body.site-export #tabnav a#exportanchor,
|
||||
#tabnav a:link.active,
|
||||
#tabnav a:visited.active {
|
||||
body.site-export #tabnav a#exportanchor {
|
||||
border-bottom: 1px solid #aaa;
|
||||
background: #9ed485;
|
||||
color: #000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue