From 706f972e88769d213aa5613c7ac664391f366c65 Mon Sep 17 00:00:00 2001 From: veselcraft Date: Sun, 28 Nov 2021 17:28:17 +0300 Subject: [PATCH] Wall: Fix performance issue --- Web/Presenters/templates/components/textArea.xml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Web/Presenters/templates/components/textArea.xml b/Web/Presenters/templates/components/textArea.xml index 3faab719..af7d20dc 100644 --- a/Web/Presenters/templates/components/textArea.xml +++ b/Web/Presenters/templates/components/textArea.xml @@ -72,7 +72,9 @@ -{script "js/node_modules/react/dist/react-with-addons.min.js"} -{script "js/node_modules/react-dom/dist/react-dom.min.js"} -{script "js/vnd_literallycanvas.js"} -{css "js/node_modules/literallycanvas/lib/css/literallycanvas.css"} +{if $graffiti} + {script "js/node_modules/react/dist/react-with-addons.min.js"} + {script "js/node_modules/react-dom/dist/react-dom.min.js"} + {script "js/vnd_literallycanvas.js"} + {css "js/node_modules/literallycanvas/lib/css/literallycanvas.css"} +{/if}