aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2018-03-22 11:58:15 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2018-03-22 11:58:15 +0100
commit1257ee7e27e56ce0051cb96ffbcc563937cc192b (patch)
treeec1c996c5a84de2cfeecacbd64f9a1c67da1eb67 /js
parent4cb0d52c73554872c4ab99f44a08fb8b9a76aa46 (diff)
downloadperl-software-in-gnu-guix-1257ee7e27e56ce0051cb96ffbcc563937cc192b.tar
perl-software-in-gnu-guix-1257ee7e27e56ce0051cb96ffbcc563937cc192b.tar.gz
code formatting
Diffstat (limited to 'js')
-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