diff options
author | Sam Wilkins <samwilkins333@gmail.com> | 2019-09-16 10:34:12 -0400 |
---|---|---|
committer | Sam Wilkins <samwilkins333@gmail.com> | 2019-09-16 10:34:12 -0400 |
commit | c23d29de4bacc71de729f4ef0f6836efe80eb96f (patch) | |
tree | c334a0e0021d9fbb8822eb9c4975c08e2a56e1d3 /src | |
parent | fe2b302288d120a0b68a3fa9e078d14445de1251 (diff) |
removed alerts
Diffstat (limited to 'src')
-rw-r--r-- | src/new_fields/RichTextUtils.ts | 2 |
1 files changed, 0 insertions, 2 deletions
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; |