aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-07-26 15:54:23 -0400
committerbobzel <zzzman@gmail.com>2022-07-26 15:54:23 -0400
commit5f8248acbc5b83a4e1571779913f9ed5700382de (patch)
tree3ab43fdb797b565a1edb5e70c984f22d0c5fe434 /src/client/views/MainView.tsx
parentb89c9565aa05e744c4c17e46aa257907f5b5f978 (diff)
fixed clicking linkDocPreview to follow links. switched target drag behavior from title to preview
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r--src/client/views/MainView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index 4dc8a2e4a..e96f65548 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -205,7 +205,7 @@ export class MainView extends React.Component {
componentWillUnMount() {
window.removeEventListener('keyup', KeyManager.Instance.unhandle);
window.removeEventListener('keydown', KeyManager.Instance.handle);
- window.removeEventListener('pointerdown', this.globalPointerDown);
+ window.removeEventListener('pointerdown', this.globalPointerDown, true);
window.removeEventListener('paste', KeyManager.Instance.paste as any);
document.removeEventListener('linkAnnotationToDash', Hypothesis.linkListener);
}