From 97b66d1fe052d7df2ee9d4f304fb9c58bf43e2cc Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Sun, 27 Oct 2013 15:37:29 -0400 Subject: apply @knownasilya's first slide detection fix to dev branch #671 --- js/reveal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/reveal.js') diff --git a/js/reveal.js b/js/reveal.js index 1c1f84e..4aa8c11 100644 --- a/js/reveal.js +++ b/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 = { -- cgit v1.2.3