Opened 9 years ago
Closed 9 years ago
#38585 closed defect (bug) (fixed)
Exit `wp-custom-header.js` gracefully in browsers without `addEventListener` support.
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.7 | Priority: | normal |
| Severity: | normal | Version: | 4.7 |
| Component: | Themes | Keywords: | has-patch |
| Focuses: | javascript | Cc: |
Description
wp-custom-header.js throws an error in browsers that don't support document.addEventListener.
Add a check for browser support and fail gracefully if it doesn't pass.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
38585.diff adds required check.