fix bug that caused slideshow to break if an unexisting named link was used

This commit is contained in:
Hakim El Hattab 2013-08-11 13:44:03 -04:00
parent ffd3ea410b
commit 93f516d30d
2 changed files with 3 additions and 3 deletions

View File

@ -1894,7 +1894,7 @@ var Reveal = (function(){
} }
// If the slide doesn't exist, navigate to the current slide // If the slide doesn't exist, navigate to the current slide
else { else {
slide( indexh, indexv ); slide( indexh || 0, indexv || 0 );
} }
} }
else { else {

4
js/reveal.min.js vendored

File diff suppressed because one or more lines are too long