jquery-3.5.1: regression in updateServiceControlUI(), new jquery doesn't handle /> tags too well.

This commit is contained in:
Ad Schellevis 2020-05-25 10:09:26 +02:00
parent aeb6d2b0c3
commit 72e1c96d2f

View File

@ -159,7 +159,7 @@ function updateServiceStatusUI(status)
status_html += 'hidden';
}
status_html += '"><i class="fa fa-play fa-fw"/></span>';
status_html += '"><i class="fa fa-play fa-fw"></i></span>';
$('#service_status_container').html(status_html);
}
@ -187,7 +187,7 @@ function updateServiceControlUI(serviceName)
status_html += 'hidden';
}
status_html += '"><i class="fa fa-' + status_icon + ' fa-fw"/></span>';
status_html += '"><i class="fa fa-' + status_icon + ' fa-fw"></i></span>';
$('#service_status_container').html(status_html + " " + buttons);