These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | const $ = require('jquery'); |
||
0 ignored issues
–
show
Backwards Compatibility
introduced
by
![]() |
|||
2 | require('jquery-depends-on'); |
||
3 | |||
4 | module.exports = function() { |
||
5 | var $expirationDate = $('#ban_expiration_date'); |
||
6 | |||
7 | if ($expirationDate.length) { |
||
8 | $expirationDate.dependsOn({ |
||
9 | '#form_is_permanent': { |
||
10 | checked: false |
||
11 | } |
||
12 | }); |
||
13 | } |
||
14 | }; |
||
15 |