aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenil Gogari <jenil27@hotmail.com>2013-05-14 19:44:21 +0530
committerJenil Gogari <jenil27@hotmail.com>2013-05-14 19:44:21 +0530
commit950bc935e6c08890930cc8432b3609ec72144374 (patch)
treeeec09ce67a17bd037c48776682dc494bd1040666
parent08f569060ad57423ee6b01a4612146414d1c577d (diff)
downloadimpress.js-950bc935e6c08890930cc8432b3609ec72144374.tar.gz
select a step more precisely.
-rw-r--r--js/impress.js2
1 files changed, 1 insertions, 1 deletions
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);