Opened 7 years ago
Closed 7 years ago
#28536 closed Cleanup/optimization (fixed)
Replace old cross-browser compatibility JavaScript functions with HTML DOM equivalents
Reported by: | Claude Paroz | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I think that addEvent
, removeEvent
and cancelEventPropagation
can now be safely replaced by their pure Javascript implementations (addEventListener
, removeEventListener
and stopPropagation
). They were added 12 years ago.
Change History (3)
comment:1 by , 7 years ago
Has patch: | set |
---|
comment:2 by , 7 years ago
Summary: | Removed old cross-browser compatibility JS functions → Replace old cross-browser compatibility JavaScript functions with HTML DOM equivalents |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
Note:
See TracTickets
for help on using tickets.
PR