Skip to content

Commit

Permalink
fix: 🐛 修复 dmzj 隐藏漫画每次进入都会提示加载中的 bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hymbz committed May 24, 2023
1 parent 3e5c682 commit 09fc1ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/site/dmzj_phone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
// https://github.com/erinacio/tachiyomi-extensions/blob/548be91cccb8f248342e2e7762c2c3d4b2d02036/src/zh/dmzj/src/eu/kanade/tachiyomi/extension/zh/dmzj/Dmzj.kt

(async () => {
const { setManga, init } = await useInit('dmzj', {
const { options, setManga, init } = await useInit('dmzj', {
解除吐槽的字数限制: true,
});

Expand Down Expand Up @@ -124,7 +124,7 @@ import {
.map((e) => e.getAttribute('data-original'))
.filter((src) => src) as string[],
);
await showComic();
if (!options.autoShow) await showComic();
return;
}

Expand Down Expand Up @@ -164,7 +164,7 @@ import {
tipDom.innerHTML = `无法获得漫画数据,请通过 <a href="https://github.com/hymbz/ComicReadScript/issues">Github</a> 或 <a href="https://greasyfork.org/zh-CN/scripts/374903-comicread/feedback#post-discussion">Greasy Fork</a> 进行反馈`;
return [];
});
await showComic();
if (!options.autoShow) await showComic();
break;
}
}
Expand Down

0 comments on commit 09fc1ea

Please sign in to comment.