aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/reveal.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/js/reveal.js b/js/reveal.js
index fe4b432..c6d05d5 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -3778,9 +3778,8 @@
// Ensure the named link is a valid HTML ID attribute
try {
element = document.getElementById( decodeURIComponent( name ) );
- }
- catch (e) {
- }
+ }
+ catch ( error ) { }
if( element ) {
// Find the position of the named slide and navigate to it