aboutsummaryrefslogtreecommitdiff
path: root/src/fields/Doc.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-05-13 18:17:10 -0400
committerbobzel <zzzman@gmail.com>2022-05-13 18:17:10 -0400
commit57c1b8235b26a1b6a315922b4dc2926e1e597674 (patch)
tree39e113956fb8c458111dba7ccfb9dc6f6d361606 /src/fields/Doc.ts
parent3847b2bbba9a64b846ecd6af481fd04df55bd798 (diff)
removed layerProvider functionality.
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r--src/fields/Doc.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts
index 9de8d0831..194b3ba27 100644
--- a/src/fields/Doc.ts
+++ b/src/fields/Doc.ts
@@ -1026,7 +1026,7 @@ export namespace Doc {
if (status === DocBrushStatus.unbrushed) {
const lastBrushed = Array.from(brushManager.BrushedDoc.keys()).lastElement();
if (lastBrushed) {
- for (var link of LinkManager.Instance.getAllDirectLinks(lastBrushed)) {
+ for (const link of LinkManager.Instance.getAllDirectLinks(lastBrushed)) {
const a1 = Cast(link.anchor1, Doc, null);
const a2 = Cast(link.anchor2, Doc, null);
if (Doc.AreProtosEqual(a1, doc) || Doc.AreProtosEqual(a2, doc) ||