aboutsummaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-03-17 22:50:23 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2021-03-21 12:24:36 +0900
commit5382f2353e693bc8e2682eb045e8bb9930829adc (patch)
tree556171409a854a39b616230496773a98b5b58f63 /src/console
parentd8bbad8e1b774d6e46c7fa05324c90ce2b716a66 (diff)
Load content scripts on document.body is ready
Diffstat (limited to 'src/console')
-rw-r--r--src/console/index.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/index.tsx b/src/console/index.tsx
index 228625e..f9313a0 100644
--- a/src/console/index.tsx
+++ b/src/console/index.tsx
@@ -11,7 +11,7 @@ import ReactDOM from "react-dom";
const store = createStore(reducers, applyMiddleware(promise));
-window.addEventListener("load", () => {
+window.addEventListener("DOMContentLoaded", () => {
const wrapper = document.getElementById("vimvixen-console");
ReactDOM.render(
<Provider store={store}>