Update impress.js

This commit is contained in:
Ikko Ashimine
2021-07-28 18:04:58 +09:00
committed by Henrik Ingo
parent 762bdd8da4
commit 63dba5f128

View File

@@ -778,7 +778,7 @@
// scrolling to element in hash.
//
// And it has to be set after animation finishes, because in Chrome it
// makes transtion laggy.
// makes transition laggy.
// BUG: http://code.google.com/p/chromium/issues/detail?id=62820
lib.gc.addEventListener( root, "impress:stepenter", function( event ) {
window.location.hash = lastHash = "#/" + event.target.id;