mirror of
https://github.com/vladmandic/automatic
synced 2026-09-18 16:54:33 +02:00
Update initGallery position to wait for opts
This commit is contained in:
@@ -38,7 +38,6 @@ async function initStartup() {
|
||||
await initAccordions();
|
||||
await initSettings();
|
||||
await initImageViewer();
|
||||
await initGallery();
|
||||
await initiGenerationParams();
|
||||
await initChangelog();
|
||||
await setupControlUI();
|
||||
@@ -47,6 +46,8 @@ async function initStartup() {
|
||||
await reconnectUI();
|
||||
await waitForOpts();
|
||||
|
||||
await initGallery();
|
||||
|
||||
log('mountURL', window.opts.subpath);
|
||||
if (window.opts.subpath?.length > 0) {
|
||||
window.subpath = window.opts.subpath;
|
||||
|
||||
Reference in New Issue
Block a user