remove spaces when showing content of popup box

This commit is contained in:
Uwe Steinmann 2022-05-19 08:05:47 +02:00
parent f306c186cf
commit afddc5a4d6

View File

@ -3765,9 +3765,7 @@ $("body").on("click", "span.openpopupbox", function(e) {
*/ */
$html = ' $html = '
<span class="openpopupbox" data-href="#'.$id.'">'.$title.'</span> <span class="openpopupbox" data-href="#'.$id.'">'.$title.'</span>
<div id="'.$id.'" class="popupbox" style="display: none;"> <div id="'.$id.'" class="popupbox" style="display: none;">'.$content.'<span class="closepopupbox"><i class="fa fa-remove"></i></span>
'.$content.'
<span class="closepopupbox"><i class="fa fa-remove"></i></span>
</div>'; </div>';
if($ret) if($ret)
return $html; return $html;