浏览代码

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
 			else {
-				slide( indexh, indexv );
+				slide( indexh || 0, indexv || 0 );
 			}
 		}
 		else {

文件差异内容过多而无法显示
+ 1 - 1
js/reveal.min.js


部分文件因为文件数量过多而无法显示