diff options
author | Markku Roponen <markku.roponen@valve.fi> | 2016-12-12 16:44:24 +0200 |
---|---|---|
committer | Markku Roponen <markku.roponen@valve.fi> | 2016-12-12 16:44:24 +0200 |
commit | da40eafccd1e62f5754069edc2ddc4706055b2ff (patch) | |
tree | 876a53adf98ccf8399594ea5ad7231e065662529 | |
parent | 54bfad62d7292c0a7e2e7d74b11493c0a37636c9 (diff) | |
download | fosdem-2018-presentation-da40eafccd1e62f5754069edc2ddc4706055b2ff.tar fosdem-2018-presentation-da40eafccd1e62f5754069edc2ddc4706055b2ff.tar.gz |
#1770, added second argument for setAttribute
-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 fd0e324..c8ce5a2 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.setAttribute('data-paused-by-reveal'); + el.setAttribute('data-paused-by-reveal', ''); el.pause(); } } ); |