diff options
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js index c3b5cc9..5f99770 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -134,6 +134,9 @@ var Reveal = (function(){ config.transition = options.transition === undefined ? 'default' : options.transition; config.theme = options.theme === undefined ? 'default' : options.theme; + // Transition alias + if( config.transition === 'box' ) config.transition = 'cube'; + // Fall back on the 2D transform theme 'linear' if( supports3DTransforms === false ) { config.transition = 'linear'; |