Skip to content

Commit

Permalink
More accurate PageChange updates
Browse files Browse the repository at this point in the history
  • Loading branch information
TronFortyTwo committed Apr 28, 2020
1 parent a187137 commit b1317e6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
function statusUpdate() {
alert("chapter " + JSON.stringify( reader.getPlace().chapterSrc() ) )
alert("percent " + JSON.stringify( reader.getPlace().percentageThrough() ) )
alert("PageChange");
}
function createReader(bookData) {
var styleInfo = styleManager.init(bookData.getMetaData("title"));
Expand Down
1 change: 0 additions & 1 deletion html/monocle/scripts/monocore.js
Original file line number Diff line number Diff line change
Expand Up @@ -2963,7 +2963,6 @@ Monocle.Book = function (dataSource, preloadWindow) {
alert("componentId " + locus.componentId);
alert("status_requested")
pageDiv.m.reader.dispatchEvent("monocle:pagechange", evtData);
alert("PageChange");
}
}
return locus;
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"maintainer": "Emanuele Sorce <[email protected]>",
"name": "sturmreader.emanuelesorce",
"title": "Sturm Reader",
"version": "2.1.2"
"version": "2.1.3"
}

0 comments on commit b1317e6

Please sign in to comment.