aboutsummaryrefslogtreecommitdiff
path: root/src/new_fields/Doc.ts
diff options
context:
space:
mode:
authorMohammad Amoush <mohammad_amoush@brown.edu>2019-07-24 18:58:00 -0400
committerMohammad Amoush <mohammad_amoush@brown.edu>2019-07-24 18:58:00 -0400
commitd55496fda9b8eb950d807bdb3e561d932719e92c (patch)
tree74aab4c0c8722999df4a0877a01730c5b3605765 /src/new_fields/Doc.ts
parent7844debd9862b15d2b36bf9ce1efb3274616a313 (diff)
parent6a296f80672c7e9d0f9c634baed7dc488426de0b (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into presentation-preview-mohammad
Diffstat (limited to 'src/new_fields/Doc.ts')
-rw-r--r--src/new_fields/Doc.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/new_fields/Doc.ts b/src/new_fields/Doc.ts
index d3d7d584e..64b4acb7b 100644
--- a/src/new_fields/Doc.ts
+++ b/src/new_fields/Doc.ts
@@ -444,7 +444,6 @@ export namespace Doc {
}
let layout = StrCast(fieldLayoutDoc.layout).replace(/fieldKey={"[^"]*"}/, `fieldKey={"${metaKey}"}`);
if (backgroundLayout) {
- layout = StrCast(fieldLayoutDoc.layout).replace(/fieldKey={"[^"]*"}/, `fieldKey={"${metaKey}"} fieldExt={"annotations"}`);
backgroundLayout = backgroundLayout.replace(/fieldKey={"[^"]*"}/, `fieldKey={"${metaKey}"}`);
}
let nw = Cast(fieldTemplate.nativeWidth, "number");