diff --git a/packages/node_modules/@node-red/editor-api/lib/editor/theme.js b/packages/node_modules/@node-red/editor-api/lib/editor/theme.js index de0106dbe..6d60c33e8 100644 --- a/packages/node_modules/@node-red/editor-api/lib/editor/theme.js +++ b/packages/node_modules/@node-red/editor-api/lib/editor/theme.js @@ -243,7 +243,7 @@ module.exports = { ) themeContext.page.scripts = scriptFiles.concat(themeContext.page.scripts || []) theme.page = theme.page || {_:{}} - theme.page._.scripts = cssFiles.concat(theme.page._.scripts || []) + theme.page._.scripts = scriptFiles.concat(theme.page._.scripts || []) } } activeThemeInitialised = true;