aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2019-09-16 10:34:12 -0400
committerSam Wilkins <samwilkins333@gmail.com>2019-09-16 10:34:12 -0400
commitc23d29de4bacc71de729f4ef0f6836efe80eb96f (patch)
treec334a0e0021d9fbb8822eb9c4975c08e2a56e1d3
parentfe2b302288d120a0b68a3fa9e078d14445de1251 (diff)
removed alerts
-rw-r--r--src/new_fields/RichTextUtils.ts2
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;