Fix URL not being selected with custom protocol

Change-type: patch
Changelog-entry: Fix URL not being selected with custom protocol
Signed-off-by: Lorenzo Alberto Maria Ambrosi <lorenzothunder.ambrosi@gmail.com>
This commit is contained in:
Lorenzo Alberto Maria Ambrosi 2020-10-14 12:30:55 +02:00
parent c3296eed54
commit c6cd421f17
No known key found for this signature in database
GPG Key ID: 0D424CCA84D4C9D4

View File

@ -289,6 +289,9 @@ export class SourceSelector extends React.Component<
showURLSelector: false,
showDriveSelector: false,
};
// Bind `this` since it's used in an event's callback
this.onSelectImage = this.onSelectImage.bind(this);
}
public componentDidMount() {