Skip to content

Commit 2f6e2fc

Browse files
authored
Fix: goBack not working if OpenComic starts directly on reading
1 parent 8759e89 commit 2f6e2fc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

scripts/dom/history.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@ function goBack()
6060
current = goBack || false;
6161

6262
if(!goBack)
63+
{
64+
if(handlebarsContext?.page?.key !== 'index')
65+
dom.loadIndexPage(true);
66+
6367
return;
68+
}
6469

6570
if(goBack.root)
6671
{

0 commit comments

Comments
 (0)