diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-08-11 13:44:03 -0400 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2013-08-11 13:44:03 -0400 |
commit | 93f516d30d8b81516384c6ec1064226bfeb07461 (patch) | |
tree | 0a78b54983bbf695d944c1a08dbaaf13ee93a88a /js/reveal.js | |
parent | ffd3ea410bf4f2efc85b816f054466ce9e7fa839 (diff) | |
download | fosdem-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.js | 2 |
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 { |