We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Following code is working in FF but not in Chrome: <img id="testimg" data-src="big-image.jpg" src="" />
<img id="testimg" data-src="big-image.jpg" src="" />
$("#testimg").lazy({ delay: 5000, effect: 'fadeIn', effectTime: 1500 });
After debugging, I found that Chrome ignore images that contain blank "src" attribute. If I add dummy attributes to code above, the plugin works fine.
<img id="testimg" data-src="big-image.jpg" src="dummy" />
<img id="testimg" data-src="big-image.jpg" alt="dummy" />
Is there any workaround, I don't want to add dummy attributes just to make it work in chrome.
TIA
The text was updated successfully, but these errors were encountered:
Which version of Lazy did you used? In an older version was a problem like this. Just to be sure it's not that thing. :)
Sorry, something went wrong.
No branches or pull requests
Following code is working in FF but not in Chrome:
<img id="testimg" data-src="big-image.jpg" src="" />
After debugging, I found that Chrome ignore images that contain blank "src" attribute. If I add dummy attributes to
code above, the plugin works fine.
<img id="testimg" data-src="big-image.jpg" src="dummy" />
<img id="testimg" data-src="big-image.jpg" alt="dummy" />
Is there any workaround, I don't want to add dummy attributes just to make it work in chrome.
TIA
The text was updated successfully, but these errors were encountered: