Pārlūkot izejas kodu

fix search & replace error

Hakim El Hattab 10 gadi atpakaļ
vecāks
revīzija
6d1a66c2bc
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      js/reveal.js

+ 1 - 1
js/reveal.js

@@ -2364,7 +2364,7 @@
 				}
 				// Videos
 				else if ( backgroundVideo ) {
-					var video = dom.wrapper.createElement( 'video' );
+					var video = document.createElement( 'video' );
 
 					// Support comma separated lists of video sources
 					backgroundVideo.split( ',' ).forEach( function( source ) {