From 0812d15ebdca5be78bd9f5434e9b63b54f23fc7e Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Wed, 20 Apr 2016 14:54:07 -0400
Subject: [PATCH] Style fixes.

---
 themes/bootstrap3/js/lightbox.js | 2 +-
 themes/bootstrap3/js/openurl.js  | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/themes/bootstrap3/js/lightbox.js b/themes/bootstrap3/js/lightbox.js
index 71cbda1cff8..9c5a8819ca5 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 20a471541c5..28cd7ae7a8f 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};
 });
-- 
GitLab