summaryrefslogtreecommitdiff
path: root/src/client/view/svg_input.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/view/svg_input.js')
-rw-r--r--src/client/view/svg_input.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/view/svg_input.js b/src/client/view/svg_input.js
index 69aeac4c..db9e190e 100644
--- a/src/client/view/svg_input.js
+++ b/src/client/view/svg_input.js
@@ -106,8 +106,12 @@ var svgInput = function(vis, graph) {
}
/*
+ * Makes the input element visible at the position of @e with text
+ * from @n. Uses @x as x offset.
+ *
* @param e visual node element
* @param n node model object
+ * @param x offset on x dimension from e
*/
function enable(e, n, x) {
var oldname = n.name,