diff --git a/themes/bootstrap3/js/common.js b/themes/bootstrap3/js/common.js index 22bcfccf122905fe456a8fd6392447179929477e..f673f097c0c805e14b2b34dac82ccd8d8340e6b6 100644 --- a/themes/bootstrap3/js/common.js +++ b/themes/bootstrap3/js/common.js @@ -14,7 +14,7 @@ function VuFindNamespace(p, s) { }; /* --- GLOBAL FUNCTIONS --- */ -function htmlEncode(value){ +function htmlEncode(value) { if (value) { return jQuery('<div />').text(value).html(); } else { @@ -351,7 +351,7 @@ function keyboardShortcuts() { $target = $('.pager').find('a.previous'); if ($target.length > 0) { $target[0].click(); - return; + return; } break; case 38: // up arrow key @@ -359,23 +359,23 @@ function keyboardShortcuts() { $target = $('.pager').find('a.backtosearch'); if ($target.length > 0) { $target[0].click(); - return; - } + return; + } } break; case 39: //right arrow key $target = $('.pager').find('a.next'); if ($target.length > 0) { $target[0].click(); - return; + return; } break; case 40: // down arrow key break; - } + } } }); - } + } } $(document).ready(function() {