Misc fixes/improvements from WIP branches

This commit is contained in:
hensm
2022-03-15 06:11:25 +00:00
parent 7ab541643a
commit cef8f3a261
13 changed files with 559 additions and 457 deletions

View File

@@ -167,9 +167,9 @@ export default class ReceiverSelector extends TypedEventTarget<ReceiverSelectorE
});
if (
!this.receivers ||
!this.defaultMediaType ||
!this.availableMediaTypes
this.receivers === undefined ||
this.defaultMediaType === undefined ||
this.availableMediaTypes === undefined
) {
throw logger.error("Popup receiver data not found.");
}