mirror of https://github.com/vector-im/riot-web
Don't return false
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
2ff34000fd
commit
722178e26e
|
@ -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…
Reference in New Issue