From 2479883d3cdec0a810f95e4fe80696877e5ae227 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 9 Sep 2014 17:33:52 +0200 Subject: is-light-background -> has-light-background, doesn't apply to background itself --- js/reveal.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'js') diff --git a/js/reveal.js b/js/reveal.js index 24093e4..ca0dde6 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -720,8 +720,7 @@ // signals if it is light var computedBackgroundColor = window.getComputedStyle( element ).backgroundColor; if( computedBackgroundColor && colorBrightness( computedBackgroundColor ) > 128 ) { - slide.classList.add( 'is-background-light' ); - element.classList.add( 'is-background-light' ); + slide.classList.add( 'has-light-background' ); } return element; -- cgit v1.2.3