aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2012-07-12 23:08:21 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2012-07-12 23:08:21 -0400
commit7366f607ceac8b08fbd67923d3fc9ef16a52db84 (patch)
tree5b3f2eeb94c272582a24127352579a911860f2d0 /js
parent5bc5435b61d729e1eb0209da4a01a76b42ee3a6b (diff)
downloadfosdem-2018-presentation-7366f607ceac8b08fbd67923d3fc9ef16a52db84.tar
fosdem-2018-presentation-7366f607ceac8b08fbd67923d3fc9ef16a52db84.tar.gz
add beige theme, move theme class from .reveal to document element, use log instead of alert to demonstrate custom events
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index e753d17..856b1aa 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -139,7 +139,7 @@ var Reveal = (function(){
}
if( config.theme !== 'default' ) {
- dom.wrapper.classList.add( config.theme );
+ document.documentElement.classList.add( 'theme-' + config.theme );
}
if( config.mouseWheel ) {