Changeset dbfab70 in OpenWorkouts-current for ow/static/js/ow.js


Ignore:
Timestamp:
Jan 31, 2019, 12:33:38 PM (5 years ago)
Author:
borja <borja@…>
Branches:
current, feature/docs, master
Children:
1183d5a, 9ab0fe3
Parents:
8fedd17
Message:

(#7) Show workouts in the profile page related to the highlighted/current month

selected in the yearly chart.

Also, allow users to click on the monthly bars on the chart, to choose that month.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ow/static/js/ow.js

    r8fedd17 rdbfab70  
    335335                        select_x_axis_label(d).attr('style', "font-weight: regular;");
    336336                    }
     337                })
     338                .on('click', function(d) {
     339                    window.location.href = d.url;
    337340                });
    338341
Note: See TracChangeset for help on using the changeset viewer.