From 574cb7c5e22862a04089b9e94b295e3153d45ccf Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Mon, 6 Jan 2014 10:11:14 -0500 Subject: [PATCH] Style fixes for lightbox.js part 2. --- themes/bootstrap/js/lightbox.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/themes/bootstrap/js/lightbox.js b/themes/bootstrap/js/lightbox.js index 37b3d8bfbaa..d0b7f46735d 100644 --- a/themes/bootstrap/js/lightbox.js +++ b/themes/bootstrap/js/lightbox.js @@ -186,7 +186,9 @@ function getLightboxByUrl(url, post, callback, pop) { */ function getLightbox(controller, action, get, post, callback, pop) { // Pop determines if we execute the callback immediately or later - if(typeof pop === "undefined") pop = true; + if(typeof pop === "undefined") { + pop = true; + } // Build URL var url = path+'/AJAX/JSON?method=getLightbox&submodule='+controller+'&subaction='+action; if(get && get !== {}) { -- GitLab