src/Resources/public/editEnroller.js   A
last analyzed

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 8
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
dl 0
loc 8
rs 10
wmc 1
mnd 0
bc 0
fnc 1
bpm 0
cpm 1
noi 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
});