mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 09:46:09 +03:00
Use ===
Co-authored-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
ebedd3cbcb
commit
ff00683f32
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue