Italian translation fix
This commit is contained in:
@@ -416,7 +416,7 @@ if ($ENABLED_DARKMODE === True) {
|
||||
// Generate work-in-progress icons
|
||||
function workInProgress() {
|
||||
|
||||
if($(".work-in-progress").html().trim() == "")
|
||||
if($(".work-in-progress").length > 0 && $(".work-in-progress").html().trim() == "")
|
||||
{
|
||||
$(".work-in-progress").append(`
|
||||
<a href="https://github.com/jokob-sk/NetAlertX/issues" target="_blank">
|
||||
|
||||
@@ -103,7 +103,8 @@ function lang($key)
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
// HTML encode the result before returning
|
||||
return str_replace("'", ''', $result);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user