aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkku Roponen <markku.roponen@valve.fi>2016-12-12 16:41:52 +0200
committerMarkku Roponen <markku.roponen@valve.fi>2016-12-12 16:41:52 +0200
commit54bfad62d7292c0a7e2e7d74b11493c0a37636c9 (patch)
treec5d517cba5a5d670a58cc80220a6ba6c731969ba
parent6831f6c17415c6c20269f3d61e673482442319b6 (diff)
downloadfreenode-live-2017-presentation-54bfad62d7292c0a7e2e7d74b11493c0a37636c9.tar
freenode-live-2017-presentation-54bfad62d7292c0a7e2e7d74b11493c0a37636c9.tar.gz
#1770, fixed function name.
-rw-r--r--js/reveal.js2
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();
}
} );