From d145ba402af525bb0d9941f056e1cfdcffe47e69 Mon Sep 17 00:00:00 2001
From: Brian Canini <canini.16@osu.edu>
Date: Wed, 6 May 2020 10:10:03 -0400
Subject: [PATCH] fixing gallery popup title bug

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

diff --git a/web/themes/asc_bootstrap/js/ekko-lightbox.js b/web/themes/asc_bootstrap/js/ekko-lightbox.js
index ac821ff50d..d4f4770aac 100755
--- a/web/themes/asc_bootstrap/js/ekko-lightbox.js
+++ b/web/themes/asc_bootstrap/js/ekko-lightbox.js
@@ -414,7 +414,7 @@ var Lightbox = (function ($) {
 				} else this._$modalHeader.css('display', 'none');
 
 				this._footerIsShown = false;
-				if (caption) {
+				if (caption || title) {
 					this._footerIsShown = true;
 					this._$modalFooter.css('display', '').html('<h4 class="modal-title">' + title + '</h4>' + caption);
 				} else this._$modalFooter.css('display', 'none');
-- 
GitLab