select a step more precisely.

This commit is contained in:
Jenil Gogari
2013-05-14 19:44:21 +05:30
parent 08f569060a
commit 950bc935e6

View File

@@ -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);