Permalink
Browse files

Fix bug with adjacent slides containing backrgounds

  • Loading branch information...
1 parent bfcf0f9 commit 3a4e369baf083403a68713c271c0e24632ec5392 @Seldaek committed May 19, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/slippy.js
View
@@ -446,6 +446,7 @@
updateSlideBackground = function() {
var img;
if (img = slides.eq(curSlide).data('background')) {
+ $('#slippy-slide-background').remove();
$('<div id="slippy-slide-background"></div>')
.prependTo('body')
.css('background-size', '100%')

0 comments on commit 3a4e369

Please sign in to comment.