Skip to content

Commit

Permalink
Merge pull request #465 from d-i-t-a/develop
Browse files Browse the repository at this point in the history
2.3.6
  • Loading branch information
aferditamuriqi authored Jun 7, 2023
2 parents 322d383 + e011044 commit 4fdc934
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@d-i-t-a/reader",
"version": "2.3.5",
"version": "2.3.6",
"description": "A viewer application for EPUB files.",
"repository": "https://github.com/d-i-t-a/R2D2BC",
"license": "Apache-2.0",
Expand Down
6 changes: 5 additions & 1 deletion src/modules/consumption/ConsumptionModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,11 @@ export class ConsumptionModule implements ReaderModule {

if (this.currSeconds === this.properties.idleTimeout) {
this.api?.idleSince(this.currSeconds);
this.updateResearchSession();
if (this.startResearchTimer !== undefined) {
this.updateResearchSession();
} else {
this.startResearchSession();
}
}
if (
this.currSeconds ===
Expand Down

0 comments on commit 4fdc934

Please sign in to comment.