Browse Source

Merge pull request #512 from felixhayashi/patch-1

changed assignment operation into comparison operator
v3_develop
Alex 9 years ago
parent
commit
1431bd67ca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/network/mixins/ManipulationMixin.js

+ 1
- 1
lib/network/mixins/ManipulationMixin.js View File

@ -652,7 +652,7 @@ exports._deleteSelected = function() {
if (this.triggerFunctions.del) {
var me = this;
var data = {nodes: selectedNodes, edges: selectedEdges};
if (this.triggerFunctions.del.length = 2) {
if (this.triggerFunctions.del.length == 2) {
this.triggerFunctions.del(data, function (finalizedData) {
me.edgesData.remove(finalizedData.edges);
me.nodesData.remove(finalizedData.nodes);

Loading…
Cancel
Save