mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +00:00
Merge branch 'development' into new/web_prefix
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -206,7 +206,7 @@ function initCheckboxRadioStyle() {
|
||||
chkboxStyle = "primary";
|
||||
}
|
||||
|
||||
var boxsheet = $('<link href="' + getCheckboxURL(chkboxStyle) + '" rel="stylesheet" />');
|
||||
var boxsheet = $('<link href="' + getCheckboxURL(chkboxStyle) + '" rel="stylesheet">');
|
||||
// Only add the stylesheet if it's not already present
|
||||
if ($("link[href='" + boxsheet.attr("href") + "']").length === 0) boxsheet.appendTo("head");
|
||||
|
||||
@@ -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 +
|
||||
|
||||
Reference in New Issue
Block a user