Commit ec2619f5 authored by Baptiste Jonglez's avatar Baptiste Jonglez

[fix] javascript bug when filtering by country directly by url

parent 82dcb3dd
......@@ -21,10 +21,12 @@
<script type="text/javascript" src="{%media_url%}/js/picnet.table.filter.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
{% if countrycolors %}
var data={{countrycolors|safe}};
for(key in data) {
$('#'+key+' path').css('fill', data[key]);
}
{% endif %}
$("#sortedlist").tablesorter({
headers: { 8: { sorter: false },},
sortList: [[1,0],[7,1]],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment