OSDN Git Service
(root)
/
bytom
/
Byone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
update the dispatch method
[bytom/Byone.git]
/
src
/
content.js
diff --git
a/src/content.js
b/src/content.js
index
a64df11
..
241bda4
100644
(file)
--- a/
src/content.js
+++ b/
src/content.js
@@
-45,6
+45,7
@@
class Content {
// Dispatching the loaded event to the web application.
isReady = true
+ document.dispatchEvent(new CustomEvent('bytomLoaded'))
document.dispatchEvent(new CustomEvent('chromeBytomLoaded'))
})