File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -96,14 +96,6 @@ class NavTree {
96
96
} )
97
97
}
98
98
99
- icon_link . appendChild ( icon )
100
- icon_container . appendChild ( icon_link )
101
- if ( this . props . iconPlace == "start" ) {
102
- prefix_container . appendChild ( icon_container )
103
- } else {
104
- li_container . appendChild ( icon_container )
105
- }
106
-
107
99
var prevs = [ ]
108
100
var prev = li_container
109
101
while ( prev = prev . previousSibling ) {
@@ -141,6 +133,14 @@ class NavTree {
141
133
} )
142
134
143
135
li_container . append ( suffix_container )
136
+
137
+ icon_link . appendChild ( icon )
138
+ icon_container . appendChild ( icon_link )
139
+ if ( this . props . iconPlace == "start" ) {
140
+ prefix_container . appendChild ( icon_container )
141
+ } else {
142
+ suffix_container . appendChild ( icon_container )
143
+ }
144
144
} )
145
145
146
146
if ( this . props . searchable ) {
Original file line number Diff line number Diff line change @@ -96,14 +96,6 @@ class NavTree {
96
96
} )
97
97
}
98
98
99
- icon_link . appendChild ( icon )
100
- icon_container . appendChild ( icon_link )
101
- if ( this . props . iconPlace == "start" ) {
102
- prefix_container . appendChild ( icon_container )
103
- } else {
104
- li_container . appendChild ( icon_container )
105
- }
106
-
107
99
var prevs = [ ]
108
100
var prev = li_container
109
101
while ( prev = prev . previousSibling ) {
@@ -141,6 +133,14 @@ class NavTree {
141
133
} )
142
134
143
135
li_container . append ( suffix_container )
136
+
137
+ icon_link . appendChild ( icon )
138
+ icon_container . appendChild ( icon_link )
139
+ if ( this . props . iconPlace == "start" ) {
140
+ prefix_container . appendChild ( icon_container )
141
+ } else {
142
+ suffix_container . appendChild ( icon_container )
143
+ }
144
144
} )
145
145
146
146
if ( this . props . searchable ) {
You can’t perform that action at this time.
0 commit comments