Skip to content

js_event_handler_attribute

An on…= attribute is assigned by hand, like element.setAttribute("onclick", …).

  • Severity: Error: it blocks publishing the version.
  • Where: script.js

Use addEventListener.