summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rz_core.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rz_core.js b/src/rz_core.js
index 772fc9e2..d81d9699 100644
--- a/src/rz_core.js
+++ b/src/rz_core.js
@@ -19,8 +19,7 @@ var node_text_dx = 15,
node_text_dy = '.30em',
svg_input_fo_node_x = node_text_dx,
svg_input_fo_node_y = '-.70em',
- svg_input_fo_height = '30px',
- svg_input_fo_width = '100px';
+ svg_input_fo_height = '30px';
/**
* svgInput - creates an embedded input element under a given
@@ -42,7 +41,6 @@ var svgInput = (function() {
body.appendChild(input);
- fo.setAttribute('width', width || svg_input_fo_width);
fo.setAttribute('height', height || svg_input_fo_height);
fo.style.pointerEvents = 'none';
input.style.pointerEvents = 'all';