[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH 1/2] CSS and JS fixes
From: |
Maxime Petazzoni |
Subject: |
[Maposmatic-dev] [PATCH 1/2] CSS and JS fixes |
Date: |
Sun, 10 Jan 2010 21:41:21 +0100 |
---
www/media/osm_map.js | 4 +++-
www/media/style.css | 1 +
2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/www/media/osm_map.js b/www/media/osm_map.js
index 7902c8c..e995ddf 100644
--- a/www/media/osm_map.js
+++ b/www/media/osm_map.js
@@ -194,8 +194,10 @@ function suggest(input, results, osm_id, button, options) {
}
function doQuery() {
- if (!$input.val().length)
+ if (!$input.val().length) {
+ closeSuggest();
return;
+ }
$(input).css('cursor', 'wait');
$.getJSON("/nominatim/", { q: $input.val() }, handleNominatimResults);
}
diff --git a/www/media/style.css b/www/media/style.css
index 557a947..d43520c 100644
--- a/www/media/style.css
+++ b/www/media/style.css
@@ -113,6 +113,7 @@ ul#nav li.activelink a {
clear: both;
margin: 1em;
margin-top: 2em;
+ width: auto;
}
/* Main content */
--
1.6.3.3.261.g85c6
- [Maposmatic-dev] [PATCH 1/2] CSS and JS fixes,
Maxime Petazzoni <=