From a2f0f9bc3930181565d73e77848a3e6214e940d8 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Thu, 18 Jan 2018 21:25:12 -0800 Subject: [PATCH] more offline work --- routes/_components/Layout.html | 14 +----------- routes/_utils/asyncModules.js | 7 +++++- routes/_utils/database/statuses.js | 32 ++++++++++++++++++++-------- routes/_utils/offlineNotification.js | 21 ++++++++++++++++++ templates/main.js | 5 ++++- 5 files changed, 55 insertions(+), 24 deletions(-) create mode 100644 routes/_utils/offlineNotification.js diff --git a/routes/_components/Layout.html b/routes/_components/Layout.html index 87c2dbd1..3033ad50 100644 --- a/routes/_components/Layout.html +++ b/routes/_components/Layout.html @@ -1,4 +1,4 @@ -<:Window bind:innerHeight bind:online /> +<:Window bind:innerHeight />