projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a474c09
)
Allow query mode to be disabled when the sidebar is open
author
Tom Hughes
<tom@compton.nu>
Wed, 5 Nov 2014 13:57:52 +0000
(13:57 +0000)
committer
Tom Hughes
<tom@compton.nu>
Wed, 5 Nov 2014 13:57:52 +0000
(13:57 +0000)
app/assets/javascripts/index/query.js
patch
|
blob
|
history
diff --git
a/app/assets/javascripts/index/query.js
b/app/assets/javascripts/index/query.js
index cabb93f50148f1b0d844e5077cd59bae84601909..30a05419c05e2a30dddc5e56490a85da886471b3 100644
(file)
--- a/
app/assets/javascripts/index/query.js
+++ b/
app/assets/javascripts/index/query.js
@@
-22,9
+22,7
@@
OSM.Query = function(map) {
if (queryButton.hasClass("disabled")) return;
if (queryButton.hasClass("active")) {
- if ($("#content").hasClass("overlay-sidebar")) {
- disableQueryMode();
- }
+ disableQueryMode();
} else {
enableQueryMode();
}