aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/reveal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index da43738..3bd75a2 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -3902,7 +3902,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