Explorar o código

'slidechange' -> 'beforeslidechange' (closes #3003)

Hakim El Hattab %!s(int64=3) %!d(string=hai) anos
pai
achega
cb454b0540
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      js/reveal.js

+ 1 - 1
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,