feat: classicモードでテーマが自動変更された際元に戻すように (#9669)

* feat: classicモードでテーマが自動変更された際元に戻すように

* docs: update CHANGELOG.md

* fix: prefixを miux:ui_temp から ui_temp に変更
This commit is contained in:
yupix
2023-01-27 13:52:51 +09:00
committed by GitHub
parent b2ed4c9508
commit 7190bd00c9
4 changed files with 17 additions and 0 deletions

View File

@@ -124,6 +124,8 @@ function onAiClick(ev) {
}
if (window.innerWidth < 1024) {
const currentUI = miLocalStorage.getItem('ui')
miLocalStorage.setItem('ui_temp', currentUI || 'default');
miLocalStorage.setItem('ui', 'default');
location.reload();
}