Skip to content

Commit 34f0c52

Browse files
committed
feat(frontend): fix navigation script search
1 parent e274c32 commit 34f0c52

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

modules/core/navigation/navigation.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,10 @@ function extractCustomScripts($el) {
112112
for (const el of $el) {
113113
if ($(el).is('script')) {
114114
candidates.push(el);
115+
} else {
116+
for (const s of $(el).find('script')) {
117+
candidates.push(s);
118+
}
115119
}
116120
}
117121
}

0 commit comments

Comments
 (0)