parent
2992564276
commit
526ff06172
2 changed files with 5 additions and 7 deletions
|
@ -19,11 +19,9 @@ OSM.Query = function(map) {
|
|||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
|
||||
if (queryButton.hasClass("disabled")) return;
|
||||
|
||||
if (queryButton.hasClass("active")) {
|
||||
disableQueryMode();
|
||||
} else {
|
||||
} else if (!queryButton.hasClass("disabled")) {
|
||||
enableQueryMode();
|
||||
}
|
||||
}).on("disabled", function (e) {
|
||||
|
|
|
@ -566,16 +566,16 @@ nav.secondary {
|
|||
background-color: black;
|
||||
}
|
||||
|
||||
&.active {
|
||||
background-color: #9ed485;
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
background-color: #333;
|
||||
background-color: rgba(0,0,0,.5);
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
&.active {
|
||||
background-color: #9ed485;
|
||||
}
|
||||
|
||||
.icon {
|
||||
margin: 10px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue