From cb454b0540c8195522f6f373a1e2e7427a2481a2 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 20 Sep 2021 09:00:17 +0200 Subject: [PATCH] 'slidechange' -> 'beforeslidechange' (closes #3003) --- js/reveal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/reveal.js b/js/reveal.js index 7baf461..36c2a5e 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1200,7 +1200,7 @@ export default function( revealElement, options ) { // Dispatch an event before hte slide const slidechange = dispatchEvent({ - type: 'slidechange', + type: 'beforeslidechange', data: { indexh: h === undefined ? indexh : h, indexv: v === undefined ? indexv : v,