shinsenter / defer.js

🥇 A lightweight JavaScript library that helps you lazy load (almost) anything. Defer.js is dependency-free, highly efficient, and optimized for Web Vitals.
https://shinsenter.github.io/defer.js/
MIT License
278 stars 45 forks source link

Background Images lazyload not working on IE 11 #37

Closed nshonda closed 4 years ago

nshonda commented 4 years ago

Describe the bug Lazyload for background images doesn't set style tag on IE11

To Reproduce Steps to reproduce the behavior:

  1. Go to https://appseeds.net/defer.js/wp/optimized on IE 11
  2. See Hero Slider
  3. No images show

Expected behavior The Hero Slider should display images

Screenshots IE 11

image

Chrome 71

win10_chrome_71

Desktop:

shinsenter commented 4 years ago

@nshonda

Thank you for your support. The pull request will be merged in the next release (this week).

Please let me know if there are any points you think could be improved.

Best regards

shinsenter commented 4 years ago

Merged #39