Skip to content

Commit

Permalink
Move call to render chart.extras to inheritable template block areski…
Browse files Browse the repository at this point in the history
  • Loading branch information
quetzaluz committed Mar 14, 2018
1 parent 8588e6c commit d600ad2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions nvd3/templates/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
{% if chart.show_values %}
chart.showValues(true);
{% endif %}

{# extra chart attributes #}
{% if chart.extras %}
{{ chart.extras }}
{% endif %}
{% endblock rendering_opts %}

{% block focus %}
Expand Down Expand Up @@ -130,11 +135,6 @@
.call(chart);
{% endblock inject %}

{# extra chart attributes #}
{% if chart.extras %}
{{ chart.extras }}
{% endif %}

{# callback for clicking on charts #}
{% if chart.callback %}
},{{ chart.callback }});
Expand Down

0 comments on commit d600ad2

Please sign in to comment.