diff --git a/themes/bootstrap3/js/lightbox.js b/themes/bootstrap3/js/lightbox.js index 71cbda1cff8511c4fcf97fa5729ff3fa621113b8..9c5a8819ca542c16d60b7e820eb6ae95d9f6bea8 100644 --- a/themes/bootstrap3/js/lightbox.js +++ b/themes/bootstrap3/js/lightbox.js @@ -145,7 +145,7 @@ VuFind.register('lightbox', function() { } // Place Hold error isolation if (obj.url.match(/\/Record/) && (obj.url.match(/Hold\?/) || obj.url.match(/Request\?/))) { - var testDiv = $('<div/>').html(html) + var testDiv = $('<div/>').html(html); var error = testDiv.find('.flash-message.alert-danger'); if (error.length && testDiv.find('.record').length) { showAlert(error[0].innerHTML, 'danger'); diff --git a/themes/bootstrap3/js/openurl.js b/themes/bootstrap3/js/openurl.js index 20a471541c534d9a08a52f2ce01d524e4f46d687..28cd7ae7a8fe0f7df9067ba00774b1b0dad26068 100644 --- a/themes/bootstrap3/js/openurl.js +++ b/themes/bootstrap3/js/openurl.js @@ -15,7 +15,7 @@ VuFind.register('openurl', function() { if (textStatus == 'abort' || typeof response.responseJSON === 'undefined') { return; } $target.append(response.responseJSON.data); }); - } + }; var _embedOpenUrlLinks = function(element) { // Extract the OpenURL associated with the clicked element: @@ -33,7 +33,7 @@ VuFind.register('openurl', function() { if (target.hasClass('hidden')) { _loadResolverLinks(target.removeClass('hidden'), openUrl, element.data('search-class-id')); } - } + }; // Assign actions to the OpenURL links. This can be called with a container e.g. when // combined results fetched with AJAX are loaded. @@ -58,6 +58,6 @@ VuFind.register('openurl', function() { }); container.find('.openUrlEmbed.openUrlEmbedAutoLoad a').trigger('click'); - } - return {init: init} + }; + return {init: init}; });