OSDN Git Service

update the dispatch method
[bytom/Byone.git] / src / content.js
index a64df11..241bda4 100644 (file)
@@ -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'))
     })