baesURL has a trailing slash already

This commit is contained in:
phl0
2024-02-06 18:18:35 +01:00
parent 96d49bfee3
commit eb60c79837

View File

@@ -2364,7 +2364,7 @@ function viewQsl(picture, callsign) {
var webpath_qsl = "<?php echo $this->paths->getPathQsl(); ?>";
var baseURL= "<?php echo base_url();?>";
var $textAndPic = $('<div></div>');
$textAndPic.append('<center><img class="img-fluid w-qsl" style="height:auto;width:auto;"src="'+baseURL+'/'+webpath_qsl+'/'+picture+'" /><center>');
$textAndPic.append('<center><img class="img-fluid w-qsl" style="height:auto;width:auto;"src="'+baseURL+webpath_qsl+'/'+picture+'" /><center>');
var title = '';
if (callsign == null) {
title = 'QSL Card';