Navigation Menu

Skip to content

Commit

Permalink
Merge pull request jquery-backstretch#77 from vondruska/master
Browse files Browse the repository at this point in the history
Image "Jumping" When Using Transitions
  • Loading branch information
srobbin committed Nov 28, 2011
2 parents 6631606 + 282c07c commit 3609183
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jquery.backstretch.js
Expand Up @@ -103,7 +103,7 @@
if(settings.centeredX) $.extend(bgCSS, {left: "-" + bgOffset + "px"});
}

$("#backstretch, #backstretch img").width( bgWidth ).height( bgHeight )
$("#backstretch, #backstretch img:not(.deleteable)").width( bgWidth ).height( bgHeight )
.filter("img").css(bgCSS);
} catch(err) {
// IE7 seems to trigger _adjustBG before the image is loaded.
Expand All @@ -115,4 +115,4 @@
}
};

})(jQuery);
})(jQuery);

0 comments on commit 3609183

Please sign in to comment.