diff options
author | Jenil Gogari <jenil27@hotmail.com> | 2013-05-14 19:44:21 +0530 |
---|---|---|
committer | Jenil Gogari <jenil27@hotmail.com> | 2013-05-14 19:44:21 +0530 |
commit | 950bc935e6c08890930cc8432b3609ec72144374 (patch) | |
tree | eec09ce67a17bd037c48776682dc494bd1040666 | |
parent | 08f569060ad57423ee6b01a4612146414d1c577d (diff) | |
download | impress.js-950bc935e6c08890930cc8432b3609ec72144374.tar.gz |
select a step more precisely.
-rw-r--r-- | js/impress.js | 2 |
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); |