Skip to content

Commit

Permalink
fixed epub collapse not working
Browse files Browse the repository at this point in the history
  • Loading branch information
mienaiyami committed Jun 30, 2023
1 parent 7babca7 commit 79a20bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "yomikiru",
"productName": "Yomikiru",
"version": "2.14.0",
"version": "2.14.1",
"description": "App to read manga / comic / epub offline on desktop",
"main": ".webpack/main",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/Components/EPubReaderSideList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ const List = memo(
src: string;
index?: number;
}) => {
const show = listShow[index] || true;
const show = index < 0 ? true : listShow[index];
return (
<li
className={`${src === currentChapterURL ? "current" : ""} ${depth === 2 ? "collapse" : ""} ${
Expand Down

0 comments on commit 79a20bd

Please sign in to comment.