From f5098485f0e632b374fe59395138c6c094e25e04 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Mon, 9 Aug 2021 03:02:59 +1200 Subject: [PATCH] Revert "Maybe fix empty online/offline bug" This reverts commit 65e5e9541730ee41d1aef7cb3ff22acb2d84cfd6. --- html/src/app.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/html/src/app.js b/html/src/app.js index 8808a0f1..6caf0fac 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -5631,13 +5631,7 @@ speechSynthesis.getVoices(); } var location = ''; var $location_at = ''; - if ((typeof ctx.ref !== 'undefined') && - (typeof ctx.ref.location !== 'undefined')) { - var { location, $location_at } = ctx.ref; - } - if (((location === '') || - (location === 'offline')) && - (typeof ref !== 'undefined') && + if ((typeof ref !== 'undefined') && (typeof ref.location !== 'undefined')) { var { location, $location_at } = ref; }