From 54bfad62d7292c0a7e2e7d74b11493c0a37636c9 Mon Sep 17 00:00:00 2001 From: Markku Roponen Date: Mon, 12 Dec 2016 16:41:52 +0200 Subject: [PATCH] #1770, fixed function name. --- js/reveal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/reveal.js b/js/reveal.js index 9594255f..fd0e324e 100644 --- a/js/reveal.js +++ b/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(); } } );