mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-11 19:03:51 +02:00
Maybe fix empty online/offline bug
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user