瀏覽代碼

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

Hakim El Hattab 11 年之前
父節點
當前提交
93f516d30d
共有 2 個文件被更改,包括 2 次插入2 次删除
  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
 			// If the slide doesn't exist, navigate to the current slide
 			else {
 			else {
-				slide( indexh, indexv );
+				slide( indexh || 0, indexv || 0 );
 			}
 			}
 		}
 		}
 		else {
 		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