aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js3
1 files changed, 1 insertions, 2 deletions
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;