diff options
author | Markku Roponen | 2016-12-12 16:41:52 +0200 |
---|---|---|
committer | Markku Roponen | 2016-12-12 16:41:52 +0200 |
commit | 54bfad62d7292c0a7e2e7d74b11493c0a37636c9 (patch) | |
tree | c5d517cba5a5d670a58cc80220a6ba6c731969ba /js | |
parent | 6831f6c17415c6c20269f3d61e673482442319b6 (diff) |
#1770, fixed function name.
Diffstat (limited to 'js')
-rw-r--r-- | js/reveal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js index 9594255..fd0e324 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(); } } ); |