diff options
author | Hakim El Hattab | 2013-10-27 15:44:26 -0400 |
---|---|---|
committer | Hakim El Hattab | 2013-10-27 15:44:26 -0400 |
commit | 7cb8d9652949b30f8a63fc763e2bc253a5c980ef (patch) | |
tree | fcf1af9e051fa27a8d1c435063015595405cb779 /js/reveal.js | |
parent | 97b66d1fe052d7df2ee9d4f304fb9c58bf43e2cc (diff) | |
parent | 8473394643e4dd82242d8c823c3a69271d37a075 (diff) |
merge vertical centering for individual slides
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js index 4aa8c11..cc93aa8 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -1108,7 +1108,7 @@ var Reveal = (function(){ continue; } - if( config.center ) { + if( config.center || slide.classList.contains( 'center' ) ) { // Vertical stacks are not centred since their section // children will be if( slide.classList.contains( 'stack' ) ) { |