diff --git a/js/reveal.js b/js/reveal.js
index fe4b432fc02001dabca9a11efd71f8a05f6e8058..c6d05d5df6ba7d3c6a9ccad8d10a5e8d5cec947d 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