From 7366f607ceac8b08fbd67923d3fc9ef16a52db84 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Thu, 12 Jul 2012 23:08:21 -0400 Subject: add beige theme, move theme class from .reveal to document element, use log instead of alert to demonstrate custom events --- js/reveal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') 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 ) { -- cgit v1.2.3