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]
/
dapp-example
/
index.html
diff --git
a/dapp-example/index.html
b/dapp-example/index.html
index
e2d55e4
..
2978e4f
100644
(file)
--- a/
dapp-example/index.html
+++ b/
dapp-example/index.html
@@
-23,8
+23,8
@@
})
// 监听Bytom插件加载成功事件
- document.addEventListener('
chromeB
ytomLoaded', () => {
- console.log('
chromeB
ytomLoaded')
+ document.addEventListener('
b
ytomLoaded', () => {
+ console.log('
b
ytomLoaded')
bytom = window.bytom
})
</script>