Skip to content

Commit

Permalink
JSCS errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilto committed Jun 9, 2015
1 parent 15295a8 commit 9a0e67a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/gecko-picture/pf.gecko-picture.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
var i;
var imgs = document.querySelectorAll("picture > img");
for (i = 0; i < imgs.length; i++) {
if(imgs[i].currentSrc && !imgs[i].complete){
removeEventListener('resize', onResize);
if (imgs[i].currentSrc && !imgs[i].complete){
removeEventListener("resize", onResize);
break;
}
fixPicture(imgs[i]);
Expand Down

0 comments on commit 9a0e67a

Please sign in to comment.