Skip to content

Commit 8dfd916

Browse files
authored
Merge pull request #414 from HIP-infrastructure/fix/window-drag-jquery-return-false
fix window dragging: do not return from jQuery canvas mouse handlers
2 parents 46313d5 + bb88bd7 commit 8dfd916

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

html5/js/Window.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,13 +391,13 @@ class XpraWindow {
391391
register_canvas_mouse_events(canvas) {
392392
// Hook up the events we want to receive:
393393
jQuery(canvas).mousedown((e) => {
394-
return this.mouse_down_cb(e, this);
394+
this.mouse_down_cb(e, this);
395395
});
396396
jQuery(canvas).mouseup((e) => {
397-
return this.mouse_up_cb(e, this);
397+
this.mouse_up_cb(e, this);
398398
});
399399
jQuery(canvas).mousemove((e) => {
400-
return this.mouse_move_cb(e, this);
400+
this.mouse_move_cb(e, this);
401401
});
402402
}
403403

0 commit comments

Comments
 (0)