Changeset 4bab6c1 in OpenWorkouts-current for ow/templates/dashboard.pt


Ignore:
Timestamp:
Jan 29, 2019, 12:02:12 PM (5 years ago)
Author:
borja <borja@…>
Branches:
current, feature/docs, master
Children:
bed4f06
Parents:
7783f97
Message:

Use the chart_selector variable when looking for the element where the week chart

will be rendered (instead of the hardcoded "svg")

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/templates/dashboard.pt

    r7783f97 r4bab6c1  
    211211    <script type="text/javascript">
    212212     var week_chart = owjs.week_chart({
    213          chart_selector: 'div.js-week-stats',
     213         chart_selector: 'div.js-week-stats svg',
    214214         url: "${request.resource_url(context, 'week')}",
    215215         current_day_name: "${current_day_name}"
Note: See TracChangeset for help on using the changeset viewer.