Fix a few CodeQL issues

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
XhmikosR
2025-03-07 10:39:45 +02:00
parent 0e41aaa40c
commit f7710ebc76
2 changed files with 3 additions and 3 deletions

View File

@@ -220,7 +220,7 @@ function initCheckboxRadioStyle() {
iCheckStyle.on("change", function () {
var themename = $(this).val();
localStorage.setItem("theme_icheck", themename);
applyCheckboxRadioStyle(themename);
applyCheckboxRadioStyle();
});
}
}
@@ -586,7 +586,7 @@ function updateVersionInfo() {
}
// Display update information of individual components only if we are not running in a Docker container
if ((!isDocker || (isDocker && v.name === "Docker Tag")) && updateComponentAvailable) {
if ((!isDocker || v.name === "Docker Tag") && updateComponentAvailable) {
$("#versions").append(
"<li><strong>" +
v.name +

View File

@@ -323,7 +323,7 @@ function createDynamicConfigTabs() {
// Dynamically fill the tabs with config topics
Object.keys(data.config).forEach(function (topic) {
var value = data.config[topic];
generateRow(topic, topic, value, data);
generateRow(topic, topic, value);
});
$("#advanced-overlay").hide();