aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDepFA <35278260+dfaker@users.noreply.github.com>2022-10-02 00:13:47 +0100
committerGitHub <noreply@github.com>2022-10-02 00:13:47 +0100
commit0aa354bd5e811e2b41b17a3052cf5d4c8190d533 (patch)
tree90cf8c34df38fe3fef685fe27024d76fe4362137 /modules
parent55b046312c51bb7b2329d3b5b7f1c05956f821bf (diff)
remove styling from python side
Diffstat (limited to 'modules')
-rw-r--r--modules/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py
index 7b2359c2..cb859ac4 100644
--- a/modules/ui.py
+++ b/modules/ui.py
@@ -1010,7 +1010,7 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo, run_modelmerger):
fn=request_restart,
inputs=[],
outputs=[],
- _js='function(){document.body.innerHTML=\'<h1 style="font-family:monospace;margin-top:20%;color:lightgray;text-align:center;">Reloading...</h1>\';setTimeout(function(){location.reload()},2000)}'
+ _js='function(){restart_reload()}'
)
if column is not None: