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