diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2015-01-15 11:25:20 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2015-01-15 11:25:20 +0100 |
commit | 817bb3bf43879009ae445e52d4b6ef88053c5583 (patch) | |
tree | 22e035b18e36625b3877c6e9572a57a5c4bc52ac /js | |
parent | 9a89e39367dda0d39a618c9672df59b95b7eb3a8 (diff) | |
download | fosdem-2018-presentation-817bb3bf43879009ae445e52d4b6ef88053c5583.tar fosdem-2018-presentation-817bb3bf43879009ae445e52d4b6ef88053c5583.tar.gz |
use getElementByID when looking up linked slides #1086
Diffstat (limited to '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 65ac29f..867dd15 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -2880,7 +2880,7 @@ // Ensure the named link is a valid HTML ID attribute if( /^[a-zA-Z][\w:.-]*$/.test( name ) ) { // Find the slide with the specified ID - element = document.querySelector( '#' + name ); + element = document.getElementById( name ); } if( element ) { |