Merge branch 'fix-isFirstSlide' of https://github.com/fabianorosas/reveal.js into dev
This commit is contained in:
commit
b9d25057d6
2 changed files with 16 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue