aboutsummaryrefslogtreecommitdiff
path: root/javascript
diff options
context:
space:
mode:
authorcluder <1590330+cluder@users.noreply.github.com>2022-11-09 05:50:43 +0100
committercluder <1590330+cluder@users.noreply.github.com>2022-11-09 05:50:43 +0100
commitf37cce0e3d154f300d4ec7ed8ef6a32d1c613e50 (patch)
tree59884560de9a6462122dcab7d1a70a64c7e5ac11 /javascript
parent3b51d239ac9201228c6032fc109111e347e8e6b0 (diff)
parentac085628540d0ec6a988fad93f5b8f2154209571 (diff)
Merge branch 'master' of https://github.com/cluder/stable-diffusion-webui into 4448_fix_ckpt_cache
Diffstat (limited to 'javascript')
-rw-r--r--javascript/ui.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/javascript/ui.js b/javascript/ui.js
index 7e116465..95cfd106 100644
--- a/javascript/ui.js
+++ b/javascript/ui.js
@@ -208,4 +208,6 @@ function update_token_counter(button_id) {
function restart_reload(){
document.body.innerHTML='<h1 style="font-family:monospace;margin-top:20%;color:lightgray;text-align:center;">Reloading...</h1>';
setTimeout(function(){location.reload()},2000)
+
+ return []
}