Skip to content

Commit

Permalink
Merge pull request #75 from d-i-t-a/develop
Browse files Browse the repository at this point in the history
1.1.10
  • Loading branch information
aferditamuriqi authored Oct 7, 2020
2 parents 2a3127e + bb7f93e commit 8a0bc8e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 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": "1.1.9",
"version": "1.1.10",
"description": "A viewer application for EPUB files.",
"repository": "https://github.com/d-i-t-a/R2D2BC",
"license": "Apache-2.0",
Expand Down
10 changes: 5 additions & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ export async function previousPage() {
if (IS_DEV) { console.log("previousPage") }
R2Navigator.previousPage()
}
export async function scroll(scroll) {
if (IS_DEV) { console.log("scroll " + scroll) }
R2Settings.scroll(scroll)
export async function scroll(value) {
if (IS_DEV) { console.log("scroll " + value) }
R2Settings.scroll(value)
}


Expand Down Expand Up @@ -309,8 +309,8 @@ exports.previousPage = function () {
previousPage()
}

exports.scroll = function (scroll) {
scroll(scroll)
exports.scroll = function (value) {
scroll(value)
}

exports.tableOfContents = function () {
Expand Down

0 comments on commit 8a0bc8e

Please sign in to comment.