summaryrefslogtreecommitdiff
path: root/read.html
diff options
context:
space:
mode:
Diffstat (limited to 'read.html')
-rw-r--r--read.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/read.html b/read.html
index 0a0f02e..c116c2a 100644
--- a/read.html
+++ b/read.html
@@ -313,6 +313,11 @@
if (data.cfi) {
_last_position_sync = new Date().getTime()/1000;
}
+ })
+ .fail(function(e) {
+ if (e && e.status == 401) {
+ window.location = "index.php";
+ }
});
});
@@ -830,6 +835,11 @@
_last_position_sync = new Date().getTime()/1000;
}
+ })
+ .fail(function(e) {
+ if (e && e.status == 401) {
+ window.location = "index.php";
+ }
});
_store_position = 0;