diff --git a/themes/bootstrap/js/common.js b/themes/bootstrap/js/common.js
index af668b82e293ba69cf8f5946d6b2d087f56987b8..f0fb34052ab1b19da231d4b347548339ace5a736 100644
--- a/themes/bootstrap/js/common.js
+++ b/themes/bootstrap/js/common.js
@@ -107,7 +107,11 @@ function registerLightboxEvents() {
    * if it matches the title bar of the lightbox
    */
   var header = $('#modal .modal-header h3').html();
-  $('#modal .modal-body .lead').each(function(i,op) {
+  var contentHeader = $('#modal .modal-body .lead');
+  if(contentHeader.length == 0) {
+    contentHeader = $('#modal .modal-body h2');
+  }
+  contentHeader.each(function(i,op) {
     if (op.innerHTML == header) {
       $(op).hide();
     }