diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-16 16:09:58 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2019-07-24 10:58:16 +0200 |
commit | f0c5e8b65792e9f991bf006a3e1d03cfd2c80c24 (patch) | |
tree | c3e89788fc565b033d173d3442e2064ecbbdc39b /client/src/app/core/theme/theme.service.ts | |
parent | d133f3858288b20d790e9bb57664fc6e22d9aeaf (diff) | |
download | PeerTube-f0c5e8b65792e9f991bf006a3e1d03cfd2c80c24.tar.gz PeerTube-f0c5e8b65792e9f991bf006a3e1d03cfd2c80c24.tar.zst PeerTube-f0c5e8b65792e9f991bf006a3e1d03cfd2c80c24.zip |
Add client helpers to plugins
Diffstat (limited to 'client/src/app/core/theme/theme.service.ts')
-rw-r--r-- | client/src/app/core/theme/theme.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/core/theme/theme.service.ts b/client/src/app/core/theme/theme.service.ts index 76199d1cc..012488075 100644 --- a/client/src/app/core/theme/theme.service.ts +++ b/client/src/app/core/theme/theme.service.ts | |||
@@ -87,7 +87,7 @@ export class ThemeService { | |||
87 | const theme = this.getTheme(currentTheme) | 87 | const theme = this.getTheme(currentTheme) |
88 | if (theme) { | 88 | if (theme) { |
89 | console.log('Adding scripts of theme %s.', currentTheme) | 89 | console.log('Adding scripts of theme %s.', currentTheme) |
90 | this.pluginService.addPlugin(theme) | 90 | this.pluginService.addPlugin(theme, true) |
91 | 91 | ||
92 | this.pluginService.reloadLoadedScopes() | 92 | this.pluginService.reloadLoadedScopes() |
93 | } | 93 | } |