diff --git a/themes/bootstrap3/js/lightbox.js b/themes/bootstrap3/js/lightbox.js index ebb551ab47d2b02d00b7e2d23f94821cd7b01445..2b25b1fbd3f8ae20d05cbd39852f7759b74a01d5 100644 --- a/themes/bootstrap3/js/lightbox.js +++ b/themes/bootstrap3/js/lightbox.js @@ -135,7 +135,7 @@ var Lightbox = { if(this.XHR) { this.XHR.abort(); } // Reset content so we start fresh when we open a lightbox $('#modal').removeData('modal'); - $('#modal').find('.modal-title').html(''); + $('#modal').find('.modal-title').html(' '); $('#modal').find('.modal-body').html(vufindString.loading + "..."); }, /** @@ -416,7 +416,7 @@ $(document).ready(function() { $('#modal').on('hidden.bs.modal', Lightbox.closeActions); /** * If a link with the class .modal-link triggers the lightbox, - * look for a title="" to use as our lightbox title. + * look for a title attribute to use as our lightbox title. */ $('.modal-link,.help-link').click(function() { var title = $(this).attr('title'); diff --git a/themes/bootstrap3/templates/layout/layout.phtml b/themes/bootstrap3/templates/layout/layout.phtml index dc3bb65dcdeeea04ca2ca453fcc11f761aae23e7..a2dc8427e8e9e62c783b40282fee5b16c87a770b 100644 --- a/themes/bootstrap3/templates/layout/layout.phtml +++ b/themes/bootstrap3/templates/layout/layout.phtml @@ -149,7 +149,7 @@ <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> - <h4 id="modalTitle" class="modal-title"></h4> + <h4 id="modalTitle" class="modal-title"> </h4> </div> <div class="modal-body"><?=$this->transEsc('Loading') ?>...</div> </div>