summaryrefslogtreecommitdiff
path: root/chimere/static
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/static')
-rw-r--r--chimere/static/main_map.js5
-rw-r--r--chimere/static/styles.css4
2 files changed, 7 insertions, 2 deletions
diff --git a/chimere/static/main_map.js b/chimere/static/main_map.js
index ee742a2..52d694f 100644
--- a/chimere/static/main_map.js
+++ b/chimere/static/main_map.js
@@ -465,8 +465,9 @@ function init(){
map.addLayers([map_layer]);
map.events.register('click', map, hidePopUp);
- map.events.register('moveend', map, refreshMapItems);
-
+ if (dynamic_categories){
+ map.events.register('moveend', map, refreshMapItems);
+ }
/* if from a permalink */
if (p_zoom) {
var p_centerLonLat = new OpenLayers.LonLat(p_lon, p_lat);
diff --git a/chimere/static/styles.css b/chimere/static/styles.css
index c6a0b97..217cba3 100644
--- a/chimere/static/styles.css
+++ b/chimere/static/styles.css
@@ -388,6 +388,10 @@ border-radius: 10px;
background-color:#ffdbdb;
}
+p.warning{
+text-align:center;
+}
+
#logos{
text-align:center;
z-index:5;