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; }