diff options
Diffstat (limited to 'src/reader.js')
| -rw-r--r-- | src/reader.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/reader.js b/src/reader.js index e1b2ab1..7bcac76 100644 --- a/src/reader.js +++ b/src/reader.js @@ -192,7 +192,7 @@ class ReaderClass extends AppCommon { }) .fail(function(e) { if (e && e.status == 401) { - window.location.href = "index.php"; + window.location.href = "index.html"; } }); } @@ -1310,13 +1310,13 @@ class ReaderClass extends AppCommon { if (this.isOnline()) { $.post("backend.php", { op: "storelastread", id: this.urlParam("id"), page: currentPage, cfi: currentCfi, timestamp: lastread_timestamp }, () => { - window.location.href = this.urlParam("rt") ? "index.php?mode=" + this.urlParam("rt") : "index.php"; + window.location.href = this.urlParam("rt") ? "index.html?mode=" + this.urlParam("rt") : "index.html"; }) .fail(() => { - window.location.href = "index.php"; + window.location.href = "index.html"; }); } else { - window.location.href = "index.php"; + window.location.href = "index.html"; } } |
