aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaan Pullerits <clysuva@gmail.com>2014-10-24 12:35:49 +0000
committerJaan Pullerits <clysuva@gmail.com>2014-10-24 12:35:49 +0000
commit82a692c394e894d603590789ab92893807ed71b7 (patch)
treec602a64ed6a4d3e9244c8d1d029240ee42149bca
parent6c8becc51b9cc1ef5078af0a92ea5161244458eb (diff)
downloadperl-software-in-gnu-guix-82a692c394e894d603590789ab92893807ed71b7.tar
perl-software-in-gnu-guix-82a692c394e894d603590789ab92893807ed71b7.tar.gz
Do not add video backgrounds to speaker notes.
-rw-r--r--js/reveal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 9ea61db..6605505 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -2601,7 +2601,7 @@
background.style.backgroundImage = 'url('+ backgroundImage +')';
}
// Videos
- else if ( backgroundVideo ) {
+ else if ( backgroundVideo && !isSpeakerNotes() ) {
var video = document.createElement( 'video' );
// Support comma separated lists of video sources