diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-03-22 10:39:12 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-03-22 10:39:12 +0900 |
| commit | e2c0ee66e4f2e2258ac6558ad0f9b6cd9c953390 (patch) | |
| tree | 7c4063187177633c6d828b3a9c18465790322f09 /src/client/theme.ts | |
| parent | :art: (diff) | |
| download | misskey-e2c0ee66e4f2e2258ac6558ad0f9b6cd9c953390.tar.gz misskey-e2c0ee66e4f2e2258ac6558ad0f9b6cd9c953390.tar.bz2 misskey-e2c0ee66e4f2e2258ac6558ad0f9b6cd9c953390.zip | |
Resolve #6170
Diffstat (limited to 'src/client/theme.ts')
| -rw-r--r-- | src/client/theme.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/theme.ts b/src/client/theme.ts index a34f2b5c34..2a6adbffcc 100644 --- a/src/client/theme.ts +++ b/src/client/theme.ts @@ -44,7 +44,7 @@ export function applyTheme(theme: Theme, persist = true) { const _theme = JSON.parse(JSON.stringify(theme)); if (_theme.base) { - const base = [lightTheme, darkTheme].find(x => x.id == _theme.base); + const base = [lightTheme, darkTheme].find(x => x.id === _theme.base); _theme.props = Object.assign({}, base.props, _theme.props); } |