Skip to content

Commit

Permalink
Update reader.js
Browse files Browse the repository at this point in the history
  • Loading branch information
geek1011 authored Jul 9, 2016
1 parent e228d9f commit 0f7c0ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ doAllReset = function() {
doUpdateProgressIndicators = function() {
document.getElementById("curpercent").innerText = String(Book.locations.percentageFromCfi(Book.getCurrentLocationCfi()).toFixed(2) * 100) + "%";
}

document.getElementById("book").innerHTML = "<div class=\"message info\">Please click the middle button on the toolbar below or <a href=\"javascript:void(0);\" onclick=\"document.getElementById('bookChooser').click()\">click here</a> to open a book.</div>";
if (checkCompatibility()) {

} else {
Expand All @@ -291,7 +291,7 @@ if (checkCompatibility()) {
document.querySelector("nav").style.display = "none";
}
document.body.classList.add("not-loaded")
document.getElementById("book").innerHTML = "<div class=\"message info\">Please click the middle button on the toolbar below or <a href=\"javascript:void(0);\" onclick=\"document.getElementById('bookChooser').click()\">click here</a> to open a book.</div>";

initSettings();
doHandleFileInput();
doSidebar();

0 comments on commit 0f7c0ba

Please sign in to comment.