From 3f12bbf0c7d209a43912edd7c7f145021be1b138 Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Tue, 15 Mar 2016 16:32:24 -0400 Subject: [PATCH] Lightbox checkstyle. The remaining three are circular or necessary. --- themes/bootstrap3/js/lightbox.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/themes/bootstrap3/js/lightbox.js b/themes/bootstrap3/js/lightbox.js index d77e9350184..9c793894ba6 100644 --- a/themes/bootstrap3/js/lightbox.js +++ b/themes/bootstrap3/js/lightbox.js @@ -104,7 +104,9 @@ VuFind.lightbox = (function() { var _xhr = false; // Public: Handle AJAX in the Lightbox var ajax = function(obj) { - if (_xhr !== false) return; + if (_xhr !== false) { + return; + } if (_originalUrl === false) { _originalUrl = obj.url; } -- GitLab