Don't send up events to window
This commit is contained in:
parent
537d91dd10
commit
7ec9e6fd88
@ -30,6 +30,7 @@ class Client {
|
||||
window.addEventListener('mousedown', this.onMouseDown.bind(this));
|
||||
window.addEventListener('mousemove', this.onMouseMove.bind(this));
|
||||
window.addEventListener('keydown', this.onKeyDown.bind(this));
|
||||
this.popup.mousedown((e) => e.stopPropagation());
|
||||
|
||||
getState((state) => this.setEnabled(state === 'enabled'));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user