Browse Source

Fixing usage of dataManipulation.initiallyVisible option.

v3_develop
Josh Gruenberg 10 years ago
parent
commit
b49c11eb0c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/graph/Graph.js

+ 1
- 1
src/graph/Graph.js View File

@ -191,7 +191,6 @@ function Graph (container, data, options) {
hover: false
};
this.hoverObj = {nodes:{},edges:{}};
this.editMode = this.constants.dataManipulation.initiallyVisible;
// Node variables
var graph = this;
@ -643,6 +642,7 @@ Graph.prototype.setOptions = function (options) {
this.constants.dataManipulation[prop] = options.dataManipulation[prop];
}
}
this.editMode = this.constants.dataManipulation.initiallyVisible;
}
else if (options.dataManipulation !== undefined) {
this.constants.dataManipulation.enabled = false;

Loading…
Cancel
Save