Another changes

This commit is contained in:
mdtrooper 2016-03-28 19:16:19 +02:00
parent 0d618e3dbd
commit 2ae5eb6021
1 changed files with 2 additions and 2 deletions

View File

@ -1447,7 +1447,7 @@ MapController.prototype.init_events = function(principalObject) {
self.remove_resize_square(); self.remove_resize_square();
d3.select(this).classed("dragging", true); self.select_node(d['graph_id'], "select");
} }
/** /**
@ -1476,7 +1476,7 @@ MapController.prototype.init_events = function(principalObject) {
* Return void * Return void
*/ */
function dragended(d) { function dragended(d) {
d3.select(this).classed("dragging", false); self.select_node(d['graph_id'], "off");
if ($("#node_" + d['graph_id']).hasClass("tooltipstered")) { if ($("#node_" + d['graph_id']).hasClass("tooltipstered")) {
$("#node_" + d['graph_id']).tooltipster('destroy'); $("#node_" + d['graph_id']).tooltipster('destroy');