Permalink
Browse files

Merge pull request #77 from vondruska/master

Image "Jumping" When Using Transitions
  • Loading branch information...
2 parents 6631606 + 282c07c commit 36091835d6949cf9850522d7b2f07b1312be8d53 @srobbin srobbin committed Nov 28, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 jquery.backstretch.js
View
@@ -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.
@@ -115,4 +115,4 @@
}
};
-})(jQuery);
+})(jQuery);

0 comments on commit 3609183

Please sign in to comment.