Skip to content

Replace inline onclick with addEventListener inside .js file to be compatible with CSP (v6) #5224

Replace inline onclick with addEventListener inside .js file to be compatible with CSP (v6)

Replace inline onclick with addEventListener inside .js file to be compatible with CSP (v6) #5224

Triggered via pull request August 11, 2024 07:38
Status Failure
Total duration 28s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors
Node: scripts/pi-hole/js/logout.js#L2
Identifier 'logout_button' is not in camel case.
Node: scripts/pi-hole/js/logout.js#L2
Global variable leak, declare the variable if it is intended to be local.
Node: scripts/pi-hole/js/logout.js#L2
'logout_button' is not defined.
Node: scripts/pi-hole/js/logout.js#L3
Identifier 'logout_button' is not in camel case.
Node: scripts/pi-hole/js/logout.js#L3
'logout_button' is not defined.
Node: scripts/pi-hole/js/logout.js#L4
'utils' is not defined.
Node
Process completed with exit code 1.