mirror of
https://github.com/hakimel/reveal.js.git
synced 2025-08-12 01:25:17 +02:00
Merge branch 'fix-isFirstSlide' of https://github.com/fabianorosas/reveal.js into dev
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user