aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-04-06 11:04:58 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-04-06 11:04:58 +0200
commita3d4afeeed1aec725a42cb404e62f89739c8faa3 (patch)
treea3c39d1e8745d95b889d3a414888922e0c2ede6b /js/reveal.js
parentc87d7db93064bac472e1cc80bee28c4dcc92565b (diff)
downloadperl-software-in-gnu-guix-a3d4afeeed1aec725a42cb404e62f89739c8faa3.tar
perl-software-in-gnu-guix-a3d4afeeed1aec725a42cb404e62f89739c8faa3.tar.gz
better transition names, fix background images in vertical slides
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 06b217b..6daa9f8 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -93,13 +93,13 @@ var Reveal = (function(){
theme: null,
// Transition style
- transition: 'default', // default/cube/page/concave/zoom/linear/fade/none
+ transition: 'default', // none/fade/slide/convex/concave/zoom
// Transition speed
transitionSpeed: 'default', // default/fast/slow
// Transition style for full page slide backgrounds
- backgroundTransition: 'default', // default/linear/none
+ backgroundTransition: 'default', // none/fade/slide/convex/concave/zoom
// Parallax background image
parallaxBackgroundImage: '', // CSS syntax, e.g. "a.jpg"
@@ -2000,7 +2000,7 @@ var Reveal = (function(){
}
if( includeAll || h === indexh ) {
- toArray( backgroundh.querySelectorAll( 'section' ) ).forEach( function( backgroundv, v ) {
+ toArray( backgroundh.querySelectorAll( '.slide-background' ) ).forEach( function( backgroundv, v ) {
if( v < indexv ) {
backgroundv.className = 'slide-background past';