summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-11-20 20:51:45 +0300
committerAndrew Dolgov <[email protected]>2020-11-20 20:51:45 +0300
commitbb942df3554b4284ee501d0d4d5186b6d945d4fa (patch)
tree68c0962941d29972c6a5a92b50285a02537926ca /js
parent55a12de2268eed349eb5b6bb065efd24cc5a0214 (diff)
app isOnline is not a property
Diffstat (limited to 'js')
-rw-r--r--js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/app.js b/js/app.js
index d886eb5..910f687 100644
--- a/js/app.js
+++ b/js/app.js
@@ -201,7 +201,7 @@ const App = {
},
onLine: function() {
if (typeof EpubeApp != "undefined" && typeof EpubeApp.isOnline != "undefined")
- return EpubeApp.isOnline;
+ return EpubeApp.isOnline();
else
return navigator.onLine;
},