Explorar o código

generate background hash under additional conditions

Hakim El Hattab %!s(int64=11) %!d(string=hai) anos
pai
achega
778969c000
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  1. 2 0
      js/reveal.js
  2. 1 1
      js/reveal.min.js

+ 2 - 0
js/reveal.js

@@ -457,7 +457,9 @@ var Reveal = (function(){
 				else {
 					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 );
 			}
 

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 1 - 1
js/reveal.min.js


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio