danoniplus 40.5.0 → 40.5.2
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 +5 -4
- package/js/lib/danoni_constants.js +1 -1
- package/package.json +1 -1
package/js/danoni_main.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* https://github.com/cwtickle/danoniplus
|
|
10
10
|
*/
|
|
11
|
-
const g_version = `Ver 40.5.
|
|
11
|
+
const g_version = `Ver 40.5.2`;
|
|
12
12
|
const g_revisedDate = `2025/03/12`;
|
|
13
13
|
|
|
14
14
|
// カスタム用バージョン (danoni_custom.js 等で指定可)
|
|
@@ -3906,13 +3906,14 @@ const updateImgType = (_imgType, _initFlg = false) => {
|
|
|
3906
3906
|
}
|
|
3907
3907
|
resetImgs(_imgType.name, _imgType.extension);
|
|
3908
3908
|
reloadImgObj();
|
|
3909
|
-
|
|
3909
|
+
const orgImgObj = structuredClone(g_imgObj);
|
|
3910
|
+
Object.keys(g_imgObj).forEach(key => g_imgObj[key] = `${g_rootPath}${orgImgObj[key]}`);
|
|
3910
3911
|
|
|
3911
3912
|
// リモート時は作品ページ側にある画像を優先し、リモートに存在するもののみリモートから取得する
|
|
3912
3913
|
if (g_remoteFlg) {
|
|
3913
|
-
Object.keys(g_imgObj).forEach(key => g_imgObj[key] = `${g_workPath}${
|
|
3914
|
+
Object.keys(g_imgObj).forEach(key => g_imgObj[key] = `${g_workPath}${orgImgObj[key]}`);
|
|
3914
3915
|
if (g_defaultSets.imgType.findIndex(val => val === _imgType.name) >= 0) {
|
|
3915
|
-
|
|
3916
|
+
g_defaultSets.imgList.forEach(key => g_imgObj[key] = `${g_rootPath}${orgImgObj[key]}`);
|
|
3916
3917
|
}
|
|
3917
3918
|
}
|
|
3918
3919
|
if (_imgType.extension === undefined && g_presetObj.overrideExtension !== undefined) {
|