about summary refs log tree commit diff stats
path: root/offline.html
diff options
context:
space:
mode:
authorAndrew Dolgov <noreply@fakecake.org>2020-04-21 07:49:42 +0300
committerAndrew Dolgov <noreply@fakecake.org>2020-04-21 07:49:42 +0300
commitbb0bbfb1ed76bb9c429b92d3769c19adef553e43 (patch)
tree14c6cb620fd9d1851d077800c93c951c83e86f14 /offline.html
parentf28a75864777b72027275f620feb31a357a5ae3d (diff)
downloadthe-epube-bb0bbfb1ed76bb9c429b92d3769c19adef553e43.tar.gz
the-epube-bb0bbfb1ed76bb9c429b92d3769c19adef553e43.tar.xz
epubeapp-related stuff
Diffstat (limited to 'offline.html')
-rw-r--r--offline.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/offline.html b/offline.html
index 7a25051..6d315b5 100644
--- a/offline.html
+++ b/offline.html
@@ -62,11 +62,20 @@
 </div>
 </div>
 
+<div class="epube-app-filler"></div>
+
 <script type="text/javascript">
 	'use strict';
 
 	$(document).ready(function() {
 
+		if (typeof EpubeApp != "undefined") {
+			$(".navbar").hide();
+			$(".epube-app-filler").show();
+
+			EpubeApp.setPage("PAGE_OFFLINE");
+		}
+
 		init_night_mode();
 
 		if ('serviceWorker' in navigator) {