From 950bc935e6c08890930cc8432b3609ec72144374 Mon Sep 17 00:00:00 2001 From: Jenil Gogari Date: Tue, 14 May 2013 19:44:21 +0530 Subject: [PATCH] select a step more precisely. --- js/impress.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/impress.js b/js/impress.js index 224a5e2..6d83a71 100644 --- a/js/impress.js +++ b/js/impress.js @@ -784,7 +784,7 @@ // rescale presentation when window is resized window.addEventListener("resize", throttle(function () { // force going to active step again, to trigger rescaling - api.goto( document.querySelector(".active"), 500 ); + api.goto( document.querySelector(".step.active"), 500 ); }, 250), false); }, false);