diff options
| author | Alon Levy <alon@pobox.com> | 2014-12-08 01:35:10 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-12-08 01:35:10 +0200 |
| commit | 81811ffa0771fa799621e56bfe6f53116436a68b (patch) | |
| tree | a0975086c87130dfc6c5550cc0d9e59d57eca3c2 /src | |
| parent | 84f8c888ff3fb78326460766bcc8e36142016eb5 (diff) | |
remove one svg_input should-not-exist-default (width of fo)
Diffstat (limited to 'src')
| -rw-r--r-- | src/rz_core.js | 4 |
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'; |
