aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2018-05-03 11:02:36 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2018-05-03 11:02:36 +0200
commit042fbde61baa76d2b6241c0ef3c7579b28f6e8c0 (patch)
tree9862232d24e1b83d98adfa51f042c25cc801cace /js
parent4ba0d733458408ee666163792c0dc13ebec41ac4 (diff)
downloadperl-software-in-gnu-guix-042fbde61baa76d2b6241c0ef3c7579b28f6e8c0.tar
perl-software-in-gnu-guix-042fbde61baa76d2b6241c0ef3c7579b28f6e8c0.tar.gz
data-background-content-opacity -> data-background-opacity
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js6
1 files changed, 3 insertions, 3 deletions
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 );