about summary refs log tree commit diff stats
path: root/offline.html
diff options
context:
space:
mode:
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) {