do not load content of modal box from href url, if href is not set

This commit is contained in:
Uwe Steinmann 2025-10-20 12:41:52 +02:00
parent eb2f4d6206
commit 917ba91d95

View File

@ -1718,6 +1718,7 @@ $(document).ready(function() { /* {{{ */
$(document).ready(function() { /* {{{ */
$('body').on('click.modal.data-api', '[data-toggle="modal"]', function(){
if($(this).attr('href'))
$($(this).data("target")+' .modal-body').load($(this).attr('href'));
});
}); /* }}} */