Merge pull request #49 from AUTOMATIC1111/master

merge from upstream
This commit is contained in:
Vladimir Mandic
2023-03-12 08:56:09 -04:00
committed by GitHub
19 changed files with 152 additions and 70 deletions
+2 -1
View File
@@ -1753,7 +1753,8 @@ def create_ui():
def reload_javascript():
head = f'<script type="text/javascript" src="file={os.path.abspath("script.js")}?{os.path.getmtime("script.js")}"></script>\n'
script_js = os.path.join(script_path, "script.js")
head = f'<script type="text/javascript" src="file={os.path.abspath(script_js)}?{os.path.getmtime(script_js)}"></script>\n'
inline = f"{localization.localization_js(shared.opts.localization)};"
if cmd_opts.theme is not None: