From 467ddce06a4cf9e3b61abf733f20c60b257c94db Mon Sep 17 00:00:00 2001
From: Melissa Zhang <mzhang19096@gmail.com>
Date: Wed, 8 Jul 2020 21:11:35 -0700
Subject: implemented much more link functionality, redirects to annotation URL
 when link followed

---
 src/client/views/nodes/DocumentView.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/client/views/nodes/DocumentView.tsx')

diff --git a/src/client/views/nodes/DocumentView.tsx b/src/client/views/nodes/DocumentView.tsx
index c67267860..41308b3a4 100644
--- a/src/client/views/nodes/DocumentView.tsx
+++ b/src/client/views/nodes/DocumentView.tsx
@@ -793,7 +793,7 @@ export class DocumentView extends DocComponent<DocumentViewProps, Document>(Docu
 
         cm.addItem({
             description: "pretend we made an annotation", event: () => {
-                document.dispatchEvent(new CustomEvent("fakeLinkStarted", {
+                document.dispatchEvent(new CustomEvent("fakeAnnotationCreated", {
                     detail: "fakefakefakeid",
                     bubbles: true
                 }));
-- 
cgit v1.2.3-70-g09d2

