generate background hash under additional conditions
This commit is contained in:
parent
fcf91ec261
commit
778969c000
|
@ -457,7 +457,9 @@ var Reveal = (function(){
|
||||||
else {
|
else {
|
||||||
element.style.background = data.background;
|
element.style.background = data.background;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if( data.background || data.backgroundColor || data.backgroundImage ) {
|
||||||
element.setAttribute( 'data-background-hash', data.background + data.backgroundSize + data.backgroundImage + data.backgroundColor + data.backgroundRepeat + data.backgroundPosition + data.backgroundTransition );
|
element.setAttribute( 'data-background-hash', data.background + data.backgroundSize + data.backgroundImage + data.backgroundColor + data.backgroundRepeat + data.backgroundPosition + data.backgroundTransition );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
5
js/reveal.min.js
vendored
5
js/reveal.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user