diff --git a/themes/bootstrap/js/lightbox.js b/themes/bootstrap/js/lightbox.js index 74152f54c44d0115c367da5e9b0526b329cbedf6..c56328a6c49be21fa2bd9f1a2ab447d492b8c03e 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>');