aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-08-11 13:44:03 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-08-11 13:44:03 -0400
commit93f516d30d8b81516384c6ec1064226bfeb07461 (patch)
tree0a78b54983bbf695d944c1a08dbaaf13ee93a88a /js/reveal.js
parentffd3ea410bf4f2efc85b816f054466ce9e7fa839 (diff)
downloadfosdem-2018-presentation-93f516d30d8b81516384c6ec1064226bfeb07461.tar
fosdem-2018-presentation-93f516d30d8b81516384c6ec1064226bfeb07461.tar.gz
fix bug that caused slideshow to break if an unexisting named link was used
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 3e91984..7657ec7 100644
--- a/js/reveal.js
+++ b/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 {