Skip to content

Commit

Permalink
ReloadUI backgroundColor --background-fill-primary
Browse files Browse the repository at this point in the history
  • Loading branch information
w-e-w committed May 22, 2024
1 parent ddb28b3 commit 344eda5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 344eda5

Please sign in to comment.