summaryrefslogtreecommitdiff
path: root/src/client/theme.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-03-22 10:39:12 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-03-22 10:39:12 +0900
commite2c0ee66e4f2e2258ac6558ad0f9b6cd9c953390 (patch)
tree7c4063187177633c6d828b3a9c18465790322f09 /src/client/theme.ts
parent:art: (diff)
downloadmisskey-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.ts2
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);
}