aboutsummaryrefslogtreecommitdiff
path: root/ext/js/display
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2024-02-18 09:27:16 -0500
committerGitHub <noreply@github.com>2024-02-18 14:27:16 +0000
commit65fa65fc7765bc9a6557d3ce6f8bdcef5b5e0cf7 (patch)
tree4e91bc8ec3e0dadbabe3e3d4c6c92d2b6f9fd2a5 /ext/js/display
parentcfc65c31313731dfa0d36c2eceaca35e9d50992f (diff)
Application main updates (#708)
* Move waitForBackendReady * Add option to wait for DOM before running main * Move script load to be earlier
Diffstat (limited to 'ext/js/display')
-rw-r--r--ext/js/display/popup-main.js2
-rw-r--r--ext/js/display/search-main.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/display/popup-main.js b/ext/js/display/popup-main.js
index 8f92aaa8..fe1d20dd 100644
--- a/ext/js/display/popup-main.js
+++ b/ext/js/display/popup-main.js
@@ -25,7 +25,7 @@ import {DisplayProfileSelection} from './display-profile-selection.js';
import {DisplayResizer} from './display-resizer.js';
import {Display} from './display.js';
-await Application.main(async (application) => {
+await Application.main(true, async (application) => {
const documentFocusController = new DocumentFocusController();
documentFocusController.prepare();
diff --git a/ext/js/display/search-main.js b/ext/js/display/search-main.js
index fd90ee0e..c3c292a1 100644
--- a/ext/js/display/search-main.js
+++ b/ext/js/display/search-main.js
@@ -26,7 +26,7 @@ import {SearchActionPopupController} from './search-action-popup-controller.js';
import {SearchDisplayController} from './search-display-controller.js';
import {SearchPersistentStateController} from './search-persistent-state-controller.js';
-await Application.main(async (application) => {
+await Application.main(true, async (application) => {
const documentFocusController = new DocumentFocusController('#search-textbox');
documentFocusController.prepare();