code formatting

This commit is contained in:
Hakim El Hattab 2018-03-22 11:58:15 +01:00
parent 4cb0d52c73
commit 1257ee7e27
1 changed files with 2 additions and 3 deletions

View File

@ -3778,9 +3778,8 @@
// Ensure the named link is a valid HTML ID attribute // Ensure the named link is a valid HTML ID attribute
try { try {
element = document.getElementById( decodeURIComponent( name ) ); element = document.getElementById( decodeURIComponent( name ) );
} }
catch (e) { catch ( error ) { }
}
if( element ) { if( element ) {
// Find the position of the named slide and navigate to it // Find the position of the named slide and navigate to it