Skip to content

Commit

Permalink
fix "more info" on maps legend and update version
Browse files Browse the repository at this point in the history
miguelpeixe committed Oct 14, 2015
1 parent 2e60252 commit d7cb799
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#JEO
v1.0.3
v1.0.4

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.

4 changes: 3 additions & 1 deletion inc/js/jeo.js
Original file line number Diff line number Diff line change
@@ -229,7 +229,9 @@ var jeo = {};
jeo.loadLayers = function(map, parsedLayers) {

for(var key in map.legendControl._legends) {
map.legendControl.removeLegend(key);
console.log(key);
if(key.indexOf('map-details-link') == -1)
map.legendControl.removeLegend(key);
}

if(map.coreLayers) {
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ Theme URI: https://github.com/cardume/jeo
Author: Cardume
Author URI: http://www.cardume.art.br/
Description: Interactive maps and journalism
Version: 1.0.3
Version: 1.0.4
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: black, white, green, light, four-columns, two-columns, responsive-layout, translation-ready, theme-options

0 comments on commit d7cb799

Please sign in to comment.