Skip to content
New issue

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

FireFox does not like .attr('src', null) #7

Open
dlmiles opened this issue Apr 27, 2016 · 0 comments
Open

FireFox does not like .attr('src', null) #7

dlmiles opened this issue Apr 27, 2016 · 0 comments

Comments

@dlmiles
Copy link

dlmiles commented Apr 27, 2016

https://github.com/jetmartin/responsive-lazy-loader/blob/master/js/jquery.responsivelazyloader.js#L283

This is not liked by FireFox. It appears to try to load the referencing URL the was defined in. This is the same as if .attr('src', '') which also does the same. I have to comment out this line to stop it hitting the target server an extra time once for each use of <img data-src="something"/>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant