Co-authored-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
Šimon Brandner 2021-03-02 07:42:07 +01:00 committed by GitHub
parent ebedd3cbcb
commit ff00683f32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1159,7 +1159,7 @@ export default class RoomView extends React.Component<IProps, IState> {
dragCounter: this.state.dragCounter - 1, dragCounter: this.state.dragCounter - 1,
}); });
if (this.state.dragCounter == 0) { if (this.state.dragCounter === 0) {
this.setState({ this.setState({
draggingFile: false, draggingFile: false,
}); });