diff options
Diffstat (limited to 'js/reveal.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 |