summaryrefslogtreecommitdiff
path: root/src/client/textanalysis.ui.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-04-13 12:37:45 +0200
committerAlon Levy <alon@pobox.com>2015-04-13 12:37:45 +0200
commit0c38133d6b493999df9ef99e3801263485e7000f (patch)
treed4068b6f9fb8d05bc73c32245647651700a7daa8 /src/client/textanalysis.ui.js
parent0ea1c38d7927c00eae4a162fb0260e6617a84af8 (diff)
client/textanalysis.ui: set height and width on foreignobject
Diffstat (limited to 'src/client/textanalysis.ui.js')
-rw-r--r--src/client/textanalysis.ui.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/textanalysis.ui.js b/src/client/textanalysis.ui.js
index bf1b50fb..a8306c23 100644
--- a/src/client/textanalysis.ui.js
+++ b/src/client/textanalysis.ui.js
@@ -29,6 +29,9 @@ var typeselection = function TypeSelectionDialog() {
e_desc = e.find('#type_selection__chosen_type_desc'),
typeselection = {};
+ fo.setAttribute('width', 400);
+ fo.setAttribute('height', 200);
+
fo.appendChild(e[0]);
typeselection.analysisNodeStart = function(node_id) {
typeselection.show(node_id);