Merge pull request #3054 from bonanitech/scriptFiles

Fix scriptFiles
This commit is contained in:
Nick O'Leary 2021-07-08 08:41:18 +01:00 committed by GitHub
commit ed8d3088ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;