From 7021a56b5eda432b6a7d7860741fa427ce1d2b7a Mon Sep 17 00:00:00 2001
From: Chris Hallberg <crhallberg@gmail.com>
Date: Thu, 31 Jul 2014 15:51:01 -0400
Subject: [PATCH] Copy and Paste error in Lightbox. Error lay between keyboard
 and chair.

---
 themes/bootstrap/js/lightbox.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/bootstrap/js/lightbox.js b/themes/bootstrap/js/lightbox.js
index 74152f54c44..c56328a6c49 100644
--- a/themes/bootstrap/js/lightbox.js
+++ b/themes/bootstrap/js/lightbox.js
@@ -194,7 +194,7 @@ var Lightbox = {
     if(alert.length > 0 && html.length > 1) {
       $(alert).html(message);
     } else if($('#modal .modal-body').html() == vufindString.loading+"..."
-    || (html.length == 1 && $(html).hasClass('alert-error'))) {) {
+    || (html.length == 1 && $(html).hasClass('alert-error'))) {
       $('#modal .modal-body').html('<div class="alert alert-error">'+message+'</div><button class="btn" onClick="Lightbox.close()">'+vufindString['close']+'</button>');
     } else {
       $('#modal .modal-body').prepend('<div class="alert alert-error">'+message+'</div>');
-- 
GitLab