Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

".slide" instead of "section" for slide resize solves issue in older …

…firefox and ie
  • Loading branch information...
commit f9af3731130aaf9532918153cb45e4bd3257f006 1 parent f1c9673
@dmfrancisco authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/html-slides.js
View
6 lib/html-slides.js
@@ -97,9 +97,9 @@ var htmlSlides = {
width = height * settings.slideWidth / settings.slideHeight;
}
var zoom = width * 100 / settings.slideWidth;
- $("section").css("width", settings.slideWidth + "px");
- $("section").css("height", settings.slideHeight + "px");
- $("section").css("zoom", zoom + "%");
+ $(".slide").css("width", settings.slideWidth + "px");
+ $(".slide").css("height", settings.slideHeight + "px");
+ $(".slide").css("zoom", zoom + "%");
});
$(window).resize();
},
Please sign in to comment.
Something went wrong with that request. Please try again.