Skip to content

Commit 2e7be23

Browse files
committed
a
1 parent 53d87ae commit 2e7be23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ function load(urls) {
184184
}
185185

186186
for (let url of urls) {
187-
if (url.includes('.js')) {
187+
if (url.endsWith('.js')) {
188188
loadScript(url, state)
189-
} else if (url.includes('.css')) {
189+
} else {
190190
loadStyle(url, state)
191191
}
192192
}

0 commit comments

Comments
 (0)