danoniplus 46.5.2 → 46.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/js/danoni_main.js +6 -5
- package/package.json +1 -1
package/js/danoni_main.js
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Source by tickle
|
|
6
6
|
* Created : 2018/10/08
|
|
7
|
-
* Revised : 2026/
|
|
7
|
+
* Revised : 2026/04/05
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 46.5.
|
|
12
|
-
const g_revisedDate = `2026/
|
|
11
|
+
const g_version = `Ver 46.5.3`;
|
|
12
|
+
const g_revisedDate = `2026/04/05`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
15
15
|
let g_localVersion = ``;
|
|
@@ -4227,9 +4227,10 @@ const headerConvert = _dosObj => {
|
|
|
4227
4227
|
|
|
4228
4228
|
// ローカルストレージに保存済みのColorType設定からDisplayのColor設定を反映
|
|
4229
4229
|
if (g_localStorage.colorType !== undefined) {
|
|
4230
|
-
g_colorType = g_localStorage.colorType
|
|
4230
|
+
g_colorType = g_keycons.colorTypes.concat(g_keycons.colorSelf).includes(g_localStorage.colorType)
|
|
4231
|
+
? g_localStorage.colorType : `Default`;
|
|
4231
4232
|
if (obj.colorUse) {
|
|
4232
|
-
g_stateObj.d_color = boolToSwitch(g_keycons.colorDefTypes.
|
|
4233
|
+
g_stateObj.d_color = boolToSwitch(g_keycons.colorDefTypes.includes(g_colorType));
|
|
4233
4234
|
}
|
|
4234
4235
|
}
|
|
4235
4236
|
|