Don't return false
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
2ff34000fd
commit
722178e26e
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ export default class ImageView extends React.Component {
|
|||
ev.stopPropagation();
|
||||
ev.preventDefault();
|
||||
|
||||
if (!this.state.moving) return false;
|
||||
if (!this.state.moving) return;
|
||||
|
||||
this.lastX = ev.pageX - this.initX;
|
||||
this.lastY = ev.pageY - this.initY;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue