Commit 2fde0a64 authored by Anze Vavpetic's avatar Anze Vavpetic
Browse files

fix to avoid element id clashes

parent 8391b10f
......@@ -33,7 +33,7 @@ $(function () {
function plot(target_att) {
chart = new Highcharts.Chart({
chart: {
renderTo: 'container',
renderTo: 'container{{widget.pk}}',
type: 'line',
marginRight: 130,
marginBottom: 40
......@@ -83,6 +83,6 @@ $(function () {
}
});
</script>
<div id="container" style="min-width: 580px; min-height: 480px margin: 0 auto"></div>
<div id="container{{widget.pk}}" style="min-width: 580px; min-height: 480px margin: 0 auto"></div>
</div>
</div>
\ No newline at end of file
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