Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 8 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | $('button[name="selectEnroller"]').on('click', function (e) { |
||
2 | const element = $(e.target); |
||
3 | const url = element.data('url'); |
||
4 | |||
5 | $('#selectEnrollerModal').modal('show'); |
||
6 | |||
7 | $('#selectEnrollerAgree').attr('href', url); |
||
8 | }); |