Skip to content

Commit

Permalink
Fix: Remove button in library not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
ollm committed Nov 19, 2023
1 parent 24b6494 commit 24ba9ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

##### 🚀 New Features

- Preliminary support for the `EPUB` format (Alpha)
- Preliminary support for the `EPUB` format (Alpha) [`24b6494`](https://github.com/ollm/OpenComic/commit/24b6494c00f35dcb5fcea4f2e4cb713a8a130cd9)

##### 🐛 Bug Fixes

- Remove button in library not showing

## [v1.0.0-beta.4](https://github.com/ollm/OpenComic/releases/tag/v1.0.0-beta.4) (17-10-2023)

##### 🚀 New Features
Expand Down
2 changes: 2 additions & 0 deletions scripts/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ async function loadIndexPage(animation = true, path = false, content = false, ke
}

handlebarsContext.comics = comics;
handlebarsContext.comicsIndex = true;
handlebarsContext.comicsReadingProgress = false;
dom.setCurrentPageVars('index');

Expand Down Expand Up @@ -456,6 +457,7 @@ async function loadIndexPage(animation = true, path = false, content = false, ke
indexPathControl(path, mainPath);

handlebarsContext.comics = [];
handlebarsContext.comicsIndex = false;
handlebarsContext.comicsDeep2 = path.replace(new RegExp('^\s*'+pregQuote(mainPathR)), '').split(p.sep).length >= 2 ? true : false;
dom.setCurrentPageVars('browsing');

Expand Down

0 comments on commit 24ba9ba

Please sign in to comment.