Skip to content

Commit adaeae3

Browse files
save file
1 parent c01dec9 commit adaeae3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
<script>
3737

3838

39-
(function top_menu({mod,root,node}){
39+
(function top_menu({mod,dom,host}){
4040

4141
var obj = {};
4242

@@ -64,8 +64,7 @@
6464

6565
obj.initdom = function(rootnode){
6666

67-
var root = $.$(rootnode,'top-menu');
68-
var shadow = root.shadowRoot;
67+
var shadow = host.shadowRoot;
6968

7069
menu.add.style(shadow);
7170

0 commit comments

Comments
 (0)