aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-04-12 10:54:28 -0400
committerbobzel <zzzman@gmail.com>2022-04-12 10:54:28 -0400
commitfd58a5f8598815ab1ab3893e60973654a59a52c1 (patch)
treeed5ff5e3f8179760a8bfc813f30ca3b2625a1c55 /src/client/views/collections/collectionFreeForm
parent064708ec835e873c016af78ccf44578a6cfc9cba (diff)
cleaned up errors/warnings. fixed dragging to turn off pointer events on whatever's being dragged.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
index 04beed541..9b0acffdf 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -1417,7 +1417,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
updateIcon = () => {
this.props.docViewPath().lastElement().ContentDiv!.style.width = (this.layoutDoc[WidthSym]()).toString();
this.props.docViewPath().lastElement().ContentDiv!.style.height = (this.layoutDoc[HeightSym]()).toString();
- var htmlString = this._mainCont && new XMLSerializer().serializeToString(this.props.docViewPath().lastElement().ContentDiv!);
+ const htmlString = this._mainCont && new XMLSerializer().serializeToString(this.props.docViewPath().lastElement().ContentDiv!);
this.props.docViewPath().lastElement().ContentDiv!.style.width = "";
this.props.docViewPath().lastElement().ContentDiv!.style.height = "";
const nativeWidth = this.layoutDoc[WidthSym]();