aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/CurrentUserUtils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-03-21 19:24:06 -0400
committerbobzel <zzzman@gmail.com>2025-03-21 19:24:06 -0400
commitbc308b888f41e8789f1b9f522ced46e68e726862 (patch)
tree6e1747536982c0dbc953b1ac7f47e8e1d0f56e58 /src/client/util/CurrentUserUtils.ts
parent7e4d793eaa7e5b6b564355a11fa02a5611645f20 (diff)
from last
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r--src/client/util/CurrentUserUtils.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index 924041552..537c703b4 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -325,7 +325,7 @@ export class CurrentUserUtils {
slide.$text = rtfield;
slide.$layout_textPainted = `<CollectionView {...props} fieldKey={'text'}/>`;
slide.$type_collection = CollectionViewType.Freeform;
- slide._onPaint = ScriptField.MakeScript(`toggleDetail(documentView, "textPainted")`, {documentView:"any"});
+ slide.onPaint = ScriptField.MakeScript(`toggleDetail(documentView, "textPainted")`, {documentView:"any"});
return slide;
}
const mermaidsApi = () => {
@@ -376,7 +376,7 @@ pie title Minerals in my tap water
slide.$text = rtfield;
slide.$layout_textPainted = `<CollectionView {...props} fieldKey={'text'}/>`;
slide.$_type_collection = CollectionViewType.Freeform;
- slide._onPaint = ScriptField.MakeScript(`toggleDetail(documentView, "textPainted")`, {documentView:"any"});
+ slide.onPaint = ScriptField.MakeScript(`toggleDetail(documentView, "textPainted")`, {documentView:"any"});
return slide;
}
plotlyApi(); mermaidsApi();