summaryrefslogtreecommitdiff
path: root/offline.html
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-12-13 07:11:36 +0300
committerAndrew Dolgov <[email protected]>2019-12-13 07:11:36 +0300
commitab96fe5a60bcd3a4e6e87c4c2f7ae1f4c98acff4 (patch)
tree12f79c06120f03b3e7b3d648e6c4633b1402c116 /offline.html
parentbafd0b747449e0d1814389ddc3d528e0ca8b6ed2 (diff)
offline index: support dark mode
Diffstat (limited to 'offline.html')
-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')