From 1257ee7e27e56ce0051cb96ffbcc563937cc192b Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Thu, 22 Mar 2018 11:58:15 +0100 Subject: [PATCH] code formatting --- js/reveal.js | 5 ++--- 1 file 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