diff options
| -rw-r--r-- | chimere/static/main_map.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chimere/static/main_map.js b/chimere/static/main_map.js index 0527a5e..42c9b28 100644 --- a/chimere/static/main_map.js +++ b/chimere/static/main_map.js @@ -1,4 +1,4 @@ -/* Copyright (C) 2008-2010 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> +/* Copyright (C) 2008-2011 Étienne Loks <etienne.loks_AT_peacefrogsDOTnet> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -369,12 +369,12 @@ function putMarker(layer, mark) { layer.addMarker(marker); /* show the item when designed in the permalink */ if (p_current_feature == feature.pk){ + p_current_feature = null; showPop(feature); clicked = true; updateDetail(feature.pk); map.setCenter(feature.lonlat, 17); updateCategories(); - p_current_feature = null; } return feature; } |
