Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The dblazy.js file only checks for the existence of the window.CustomEvent. This leads to "Object doesn't support this action" errors in IE 9, 10 & 11 since the window.CustomEvent exists but is an Object, not a function / prototype.
Ref: https://stackoverflow.com/questions/26596123/internet-explorer-9-10-11-e...
Comment | File | Size | Author |
---|---|---|---|
#2 | blazy-CustomEvent-polyfill-3075938-2.patch | 4.27 KB | recrit |
Comments
Comment #2
recrit CreditAttribution: recrit at Phase2 commentedThe attached patch corrects the polyfill to:
Comment #3
gausarts CreditAttribution: gausarts commentedThank you!
I didn't notice this when working with IE9 + 11 last time. But glad you did. I might overlook.
Comment #5
gausarts CreditAttribution: gausarts commentedCommitted with minor change from double to single quote (
'function'
) to match the rest. Thank you for contribution!