Skip to content

Commit

Permalink
Hotfix for broken importing of books
Browse files Browse the repository at this point in the history
  • Loading branch information
TronFortyTwo committed Apr 28, 2020
1 parent d9eb451 commit a187137
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
}
function createReader(bookData) {
var styleInfo = styleManager.init(bookData.getMetaData("title"));
SAVED_PLACE.percentage = Number(SAVED_PLACE.percentage);
reader = Monocle.Reader("reader", bookData,
{ panels: Monocle.Panels.TwoPane, flipper: Monocle.Flippers.InstantSlider, place: SAVED_PLACE,
stylesheet: styleInfo.stylesheet, fontScale: styleInfo.fontScale},
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.1"
"version": "2.1.2"
}
2 changes: 1 addition & 1 deletion ui/Server.qml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ HttpServer {
var locus = getBookSetting("locus")
if (locus == undefined)
locus = null
console.log(JSON.stringify(locus));
console.log("locus: " + JSON.stringify(locus));
response.write("SAVED_PLACE = " + JSON.stringify(locus) + ";\n")

response.end()
Expand Down

0 comments on commit a187137

Please sign in to comment.