From fe7bc174fbb9ea0f367a61eca388da5ae56a12c0 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 24 Aug 2021 14:39:42 +0900 Subject: [PATCH 1/2] Fix #7689 --- CHANGELOG.md | 5 +++++ src/server/web/boot.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e8add521..205c780c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ --> +## 12.89.2 (2021/08/24) + +### Bugfixes +- カスタムCSSを有効にしているとエラーになる問題を修正 + ## 12.89.1 (2021/08/24) ### Improvements diff --git a/src/server/web/boot.js b/src/server/web/boot.js index 7a41ae255..a3a068566 100644 --- a/src/server/web/boot.js +++ b/src/server/web/boot.js @@ -109,7 +109,7 @@ if (customCss && customCss.length > 0) { const style = document.createElement('style'); style.innerHTML = customCss; - head.appendChild(style); + document.head.appendChild(style); } // eslint-disable-next-line no-inner-declarations From f84483896edeb1f8655175b77d35ecd49f6e1985 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 24 Aug 2021 14:40:01 +0900 Subject: [PATCH 2/2] 12.89.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b085bf1c8..1f9baa3ca 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "misskey", "author": "syuilo ", - "version": "12.89.1", + "version": "12.89.2", "codename": "indigo", "repository": { "type": "git",