From 042fbde61baa76d2b6241c0ef3c7579b28f6e8c0 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Thu, 3 May 2018 11:02:36 +0200 Subject: data-background-content-opacity -> data-background-opacity --- js/reveal.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js') diff --git a/js/reveal.js b/js/reveal.js index ae1c4ae..e3bbb23 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -934,7 +934,7 @@ backgroundRepeat: slide.getAttribute( 'data-background-repeat' ), backgroundPosition: slide.getAttribute( 'data-background-position' ), backgroundTransition: slide.getAttribute( 'data-background-transition' ), - backgroundContentOpacity: slide.getAttribute( 'data-background-content-opacity' ) + backgroundOpacity: slide.getAttribute( 'data-background-opacity' ) }; // Main slide background element @@ -968,7 +968,7 @@ data.backgroundRepeat + data.backgroundPosition + data.backgroundTransition + - data.backgroundContentOpacity ); + data.backgroundOpacity ); } // Additional and optional background properties @@ -980,7 +980,7 @@ if( data.backgroundSize ) contentElement.style.backgroundSize = data.backgroundSize; if( data.backgroundRepeat ) contentElement.style.backgroundRepeat = data.backgroundRepeat; if( data.backgroundPosition ) contentElement.style.backgroundPosition = data.backgroundPosition; - if( data.backgroundContentOpacity ) contentElement.style.opacity = data.backgroundContentOpacity; + if( data.backgroundOpacity ) contentElement.style.opacity = data.backgroundOpacity; element.appendChild( contentElement ); container.appendChild( element ); -- cgit v1.2.3