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 640a7409ee
commit 4872fa3d6e

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() {