aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/MainView.tsx
diff options
context:
space:
mode:
authorMelissa Zhang <mzhang19096@gmail.com>2020-07-06 23:41:34 -0700
committerMelissa Zhang <mzhang19096@gmail.com>2020-07-06 23:41:34 -0700
commitfbc7a328016af60052dd3f33c2d906e6c6447a5f (patch)
treef7b5e4cf40a72a0024079ec7628bbe70a6a019b9 /src/client/views/MainView.tsx
parent2e1284512f6f302673874ef3c368bdc50735f2a6 (diff)
set up linking for hypothesis annotations
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r--src/client/views/MainView.tsx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index 65d585a2a..4c3add663 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -108,10 +108,10 @@ export class MainView extends React.Component {
}
});
});
- document.addEventListener("linkComplete", (e: any) => { // event used by Hypothes.is plugin to tell Dash when an annotation has been linked
- const annotatedUrl = e.details;
- console.log("This website " + annotatedUrl + " has a linked annotation");
- });
+ // document.addEventListener("linkComplete", (e: any) => { // event used by Hypothes.is plugin to tell Dash when an annotation has been linked
+ // const annotatedUrl = e.details;
+ // console.log("This website " + annotatedUrl + " has a linked annotation");
+ // });
}
componentWillUnMount() {