1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

fix: Escape HTML

This commit is contained in:
Dmitry Lyzo 2022-03-27 01:16:33 +03:00
parent b4fce063b0
commit 9338dd082b
6 changed files with 8 additions and 7 deletions

View file

@ -38,7 +38,7 @@ function reload(page) {
$('.monitorUsers', page).hide();
}
$('.notificationType', page).html(escapeHtml(typeInfo.Name) || 'Unknown Notification');
$('.notificationType', page).html(escapeHtml(typeInfo.Name || '') || 'Unknown Notification');
if (!notificationConfig) {
notificationConfig = {