Closed ericvalois closed 4 years ago
The fallback script seems to work fine on IE11 but not on IE10. Here is the error:
SCRIPT5007: Unable to get property 'src' of undefined or null reference lazyload.js, line 1 character 1659
PHP 7.3 - IE10 - Windows 7 - Native Lazy load v1.0.1 - WordPress 5.2.3
Images should display.
There are empty spaces instead of images.
https://cl.ly/e220a8ac07d9
Thanks for the report @ericvalois!
Apparently IE < 11 doesn't support the dataset property on elements, so one needs to rely directly on the data attributes instead.
dataset
I'll create a fix for this shortly.
Issue Overview
The fallback script seems to work fine on IE11 but not on IE10. Here is the error:
Steps to Reproduce (for bugs)
PHP 7.3 - IE10 - Windows 7 - Native Lazy load v1.0.1 - WordPress 5.2.3
Expected Behavior
Images should display.
Current Behavior
There are empty spaces instead of images.
Screenshots / Video
https://cl.ly/e220a8ac07d9