Skip to content

Commit

Permalink
removed a micro optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
aFarkas committed Oct 16, 2015
1 parent e6647e5 commit 57275ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/respimg/ls.respimg.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
if(isImage && elem.parentNode){
parsedSet.isPicture = elem.parentNode.nodeName.toUpperCase() == 'PICTURE';

if(parsedSet.isPicture && elem.getAttribute(config.sizesAttr) != 'auto'){
if(parsedSet.isPicture){
if(window.matchMedia || (window.Modernizr && Modernizr.mq)){
lazySizes.aC(elem, 'lazymatchmedia');
runMatchMedia();
Expand Down
2 changes: 1 addition & 1 deletion plugins/respimg/ls.respimg.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 57275ea

Please sign in to comment.