diff options
| author | Alon Levy <alon@pobox.com> | 2015-02-11 17:55:35 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-02-11 17:55:35 +0200 |
| commit | c36b177e05426c9a37e905c7eb65700cf9b69478 (patch) | |
| tree | 46652ebbb9b7dd2e326361b1fe8503422659724d /src/client | |
| parent | 6746a8fd949c401e5b2c1b00f3a7f69a3c209f36 (diff) | |
client: remove setting type change suggestion location via graph.findCoordinates
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/model/graph.js | 9 | ||||
| -rw-r--r-- | src/client/textanalysis.ui.js | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/client/model/graph.js b/src/client/model/graph.js index d163e406..3f9e89ab 100644 --- a/src/client/model/graph.js +++ b/src/client/model/graph.js @@ -535,15 +535,6 @@ function Graph(spec) { return true; } - this.findCoordinates = function(id) { - var n = find_node__by_id(id); - - if (n !== undefined) { - $('.typeselection').css('top', n.y - 90); - $('.typeselection').css('left', n.x - 230); - } - } - this.links_rm = function(links) { var ids = links.map(function (link) { util.assert(link.id !== undefined, 'bug: link without an id'); diff --git a/src/client/textanalysis.ui.js b/src/client/textanalysis.ui.js index b330d98b..91aea1de 100644 --- a/src/client/textanalysis.ui.js +++ b/src/client/textanalysis.ui.js @@ -112,7 +112,6 @@ function changeType(arg) { rz_core.edit_graph.editType(id, nodetype); typeselection.showChosenType(nodetype); - rz_core.edit_graph.findCoordinates(id); textanalysis.set_type(name, nodetype); } |
