Browse Source

code formatting

Hakim El Hattab 6 years ago
parent
commit
1257ee7e27
1 changed files with 2 additions and 3 deletions
  1. 2 3
      js/reveal.js

+ 2 - 3
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