diff --git a/html/src/app.js b/html/src/app.js index 6b777136..99c392fb 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -5618,7 +5618,13 @@ speechSynthesis.getVoices(); } var location = ''; var $location_at = ''; - if ((typeof ref !== 'undefined') && + if ((typeof ctx.ref !== 'undefined') && + (typeof ctx.ref.location !== 'undefined')) { + var { location, $location_at } = ctx.ref; + } + if (((location === '') || + (location === 'offline')) && + (typeof ref !== 'undefined') && (typeof ref.location !== 'undefined')) { var { location, $location_at } = ref; }