Explorar el Código

apply @knownasilya's first slide detection fix to dev branch #671

Hakim El Hattab hace 11 años
padre
commit
97b66d1fe0
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      js/reveal.js
  2. 1 1
      js/reveal.min.js

+ 1 - 1
js/reveal.js

@@ -12,7 +12,7 @@ var Reveal = (function(){
 	var SLIDES_SELECTOR = '.reveal .slides section',
 		HORIZONTAL_SLIDES_SELECTOR = '.reveal .slides>section',
 		VERTICAL_SLIDES_SELECTOR = '.reveal .slides>section.present>section',
-		HOME_SLIDE_SELECTOR = '.reveal .slides>section:first-child',
+		HOME_SLIDE_SELECTOR = '.reveal .slides>section:first-of-type',
 
 		// Configurations defaults, can be overridden at initialization time
 		config = {

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 1
js/reveal.min.js


Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio