From c36b177e05426c9a37e905c7eb65700cf9b69478 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Wed, 11 Feb 2015 17:55:35 +0200 Subject: client: remove setting type change suggestion location via graph.findCoordinates --- src/client/model/graph.js | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/client/model') 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'); -- cgit v1.3.1