Markku Roponen 8 rokov pred
rodič
commit
54bfad62d7
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      js/reveal.js

+ 1 - 1
js/reveal.js

@@ -3072,7 +3072,7 @@
 			// HTML5 media elements
 			toArray( slide.querySelectorAll( 'video, audio' ) ).forEach( function( el ) {
 				if( !el.hasAttribute( 'data-ignore' ) && typeof el.pause === 'function' ) {
-					el.addAttribute('data-paused-by-reveal');
+					el.setAttribute('data-paused-by-reveal');
 					el.pause();
 				}
 			} );