Skip to content

Commit

Permalink
Fix bug with adjacent slides containing backrgounds
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed May 19, 2012
1 parent bfcf0f9 commit 3a4e369
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/slippy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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%')
Expand Down

0 comments on commit 3a4e369

Please sign in to comment.