Skip to content

Commit 7e54554

Browse files
save file
1 parent 10e8d35 commit 7e54554

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

utils/webrtc/html/top-menu/v2.0/top-menu-v2.0.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
<script>
3636

37-
(function top_menu({mod,root,node}){
37+
(function top_menu({mod,dom,host}){
3838

3939
var obj = {
4040
version : 'v2.0',
@@ -67,8 +67,7 @@
6767

6868
obj.initdom = function(rootnode){
6969

70-
var root = $.$(rootnode,'top-menu');
71-
var shadow = root.shadowRoot;
70+
var shadow = host.shadowRoot;
7271

7372
menu.add.style(shadow);
7473

0 commit comments

Comments
 (0)