diff options
Diffstat (limited to 'app/templates/admin/annotations_by_dataset.html')
| -rw-r--r-- | app/templates/admin/annotations_by_dataset.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/templates/admin/annotations_by_dataset.html b/app/templates/admin/annotations_by_dataset.html index a0e935b..3885d7f 100644 --- a/app/templates/admin/annotations_by_dataset.html +++ b/app/templates/admin/annotations_by_dataset.html @@ -16,8 +16,8 @@ <script src="{{ url_for('static', filename='js/makeChart.js') }}"></script> <script>adminViewAnnotations( '#graph', - {{ data.chart_data | safe }}, - {{ data.annotations | safe }} + {{ data.chart_data | tojson }}, + {{ data.annotations | tojson }} ); </script> {% endblock scripts %} |
