Bladeren bron

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

Hakim El Hattab 11 jaren geleden
bovenliggende
commit
93f516d30d
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1 1
      js/reveal.js
  2. 1 1
      js/reveal.min.js

+ 1 - 1
js/reveal.js

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

File diff suppressed because it is too large
+ 1 - 1
js/reveal.min.js


Some files were not shown because too many files changed in this diff