aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkku Roponen <markku.roponen@valve.fi>2016-12-12 16:44:24 +0200
committerMarkku Roponen <markku.roponen@valve.fi>2016-12-12 16:44:24 +0200
commitda40eafccd1e62f5754069edc2ddc4706055b2ff (patch)
tree876a53adf98ccf8399594ea5ad7231e065662529
parent54bfad62d7292c0a7e2e7d74b11493c0a37636c9 (diff)
downloadfosdem-2018-presentation-da40eafccd1e62f5754069edc2ddc4706055b2ff.tar
fosdem-2018-presentation-da40eafccd1e62f5754069edc2ddc4706055b2ff.tar.gz
#1770, added second argument for setAttribute
-rw-r--r--js/reveal.js2
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();
}
} );