Revert "Maybe fix empty online/offline bug"

This reverts commit 65e5e95417.
This commit is contained in:
Natsumi
2021-08-09 03:02:59 +12:00
parent d4f547fa78
commit f5098485f0

View File

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