about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--offline.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/offline.html b/offline.html
index 9888b9a..bf77ac6 100644
--- a/offline.html
+++ b/offline.html
@@ -3,7 +3,7 @@
 <head>
 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 	<link href="lib/bootstrap/v3/css/bootstrap.min.css" rel="stylesheet" media="screen">
-	<link href="lib/bootstrap/v3/css/bootstrap-theme.min.css" rel="stylesheet" media="screen">
+	<link id="theme_css" href="lib/bootstrap/v3/css/bootstrap-theme.min.css" rel="stylesheet" media="screen">
 	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 	<script src="lib/bootstrap/v3/js/jquery.js"></script>
 	<script src="lib/bootstrap/v3/js/bootstrap.min.js"></script>
@@ -67,6 +67,8 @@
 
 	$(document).ready(function() {
 
+		init_night_mode();
+
 		if ('serviceWorker' in navigator) {
  			 navigator.serviceWorker
            .register('worker.js')