Skip to content

Commit d7cb799

Browse files
committed
fix "more info" on maps legend and update version
1 parent 2e60252 commit d7cb799

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#JEO
2-
v1.0.3
2+
v1.0.4
33

44
JEO WordPress Theme acts as a geojournalism platform which allows news organizations, bloggers and NGOs to publish news stories as layers of information on digital maps. With JEO, creating the interaction between data layers and contextual information is much more intuitive and interactive. The theme is ready for multilingual content and facilitates the publishing tasks.
55

inc/js/jeo.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,9 @@ var jeo = {};
229229
jeo.loadLayers = function(map, parsedLayers) {
230230

231231
for(var key in map.legendControl._legends) {
232-
map.legendControl.removeLegend(key);
232+
console.log(key);
233+
if(key.indexOf('map-details-link') == -1)
234+
map.legendControl.removeLegend(key);
233235
}
234236

235237
if(map.coreLayers) {

style.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Theme URI: https://github.com/cardume/jeo
44
Author: Cardume
55
Author URI: http://www.cardume.art.br/
66
Description: Interactive maps and journalism
7-
Version: 1.0.3
7+
Version: 1.0.4
88
License: GNU General Public License v3 or later
99
License URI: http://www.gnu.org/licenses/gpl-3.0.html
1010
Tags: black, white, green, light, four-columns, two-columns, responsive-layout, translation-ready, theme-options

0 commit comments

Comments
 (0)