diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-05-14 08:50:28 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-05-14 08:50:28 +0200 |
commit | b9d25057d688dbe8aef4df7a8baa0dcb33137370 (patch) | |
tree | 39b2b676fd7b11387e24800bc1bd1ad9b9476fa7 /js | |
parent | 54c3c23e363e99772be4f0db30b177c2bffc1b39 (diff) | |
parent | ffecac6df30b00cf35588a00299b610b76a953f2 (diff) | |
download | fosdem-2018-presentation-b9d25057d688dbe8aef4df7a8baa0dcb33137370.tar fosdem-2018-presentation-b9d25057d688dbe8aef4df7a8baa0dcb33137370.tar.gz |
Merge branch 'fix-isFirstSlide' of https://github.com/fabianorosas/reveal.js into dev
Diffstat (limited to 'js')
-rw-r--r-- | js/reveal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js index 8c0889b..1ff0dcb 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -3909,7 +3909,7 @@ // Returns true if we're currently on the first slide isFirstSlide: function() { - return document.querySelector( SLIDES_SELECTOR + '.past' ) == null ? true : false; + return ( indexh === 0 && indexv === 0 ); }, // Returns true if we're currently on the last slide |