From 4f16c24aa5221db8670fa69b7f7bee0f897fb203 Mon Sep 17 00:00:00 2001
From: Melissa Zhang <mzhang19096@gmail.com>
Date: Fri, 10 Jul 2020 13:31:13 -0700
Subject: automatically starts link when an annotation is created

---
 src/client/views/MainView.tsx | 4 ----
 1 file changed, 4 deletions(-)

(limited to 'src/client/views/MainView.tsx')

diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx
index cf1129895..81195b550 100644
--- a/src/client/views/MainView.tsx
+++ b/src/client/views/MainView.tsx
@@ -111,10 +111,6 @@ 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");
-        // });
     }
 
     componentWillUnMount() {
-- 
cgit v1.2.3-70-g09d2

