Merge pull request #15864 from AUTOMATIC1111/ReloadUI-backgroundColor---background-fill-primary

ReloadUI backgroundColor --background-fill-primary
This commit is contained in:
AUTOMATIC1111 2024-06-08 09:06:39 +03:00 committed by GitHub
commit e21b1e3716
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -337,8 +337,8 @@ onOptionsChanged(function() {
let txt2img_textarea, img2img_textarea = undefined;
function restart_reload() {
document.body.style.backgroundColor = "var(--background-fill-primary)";
document.body.innerHTML = '<h1 style="font-family:monospace;margin-top:20%;color:lightgray;text-align:center;">Reloading...</h1>';
var requestPing = function() {
requestGet("./internal/ping", {}, function(data) {
location.reload();