From c23d29de4bacc71de729f4ef0f6836efe80eb96f Mon Sep 17 00:00:00 2001 From: Sam Wilkins Date: Mon, 16 Sep 2019 10:34:12 -0400 Subject: removed alerts --- src/new_fields/RichTextUtils.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') diff --git a/src/new_fields/RichTextUtils.ts b/src/new_fields/RichTextUtils.ts index 5b1da2669..44fdae638 100644 --- a/src/new_fields/RichTextUtils.ts +++ b/src/new_fields/RichTextUtils.ts @@ -383,7 +383,6 @@ export namespace RichTextUtils { const delimiter = "/doc/"; const alreadyShared = "?sharing=true"; if (new RegExp(window.location.origin + delimiter).test(url) && !url.endsWith(alreadyShared)) { - alert("Reassigning alias!"); const linkDoc = await DocServer.GetRefField(url.split(delimiter)[1]); if (linkDoc instanceof Doc) { const target = (await Cast(linkDoc.anchor2, Doc))!; @@ -394,7 +393,6 @@ export namespace RichTextUtils { linkDoc.anchor2 = exported; } } - alert(`url: ${url}`); value = { url }; textStyle.foregroundColor = fromRgb.blue; textStyle.bold = true; -- cgit v1.2.3-70-g09d2