Commit 9294dba9 authored by stef's avatar stef
Browse files

[fix] rendering of single country

parent 0b5688a3
......@@ -18,7 +18,7 @@
$script(['{{ MEDIA_URL }}/js/raphael.min.js', '{{ MEDIA_URL }}/js/kartograph.min.js', '{{ MEDIA_URL }}/js/chroma.min.js', '{{ MEDIA_URL }}/js/qtip.min.js'], 'kartograph');
</script>
<script type="text/javascript">
var data={% if countryweights %}{{countryweights|safe}}{%else%}null{% endif %};
var data={% if countryweights %}{{countryweights|safe}}{%else%}[]{% endif %};
var country="{{country}}";
$script.ready(['jquery','tables'], function() {
$(document).ready(function() {
......
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