Browse Source

bugfix

flowchartTest
Alex de Mulder 9 years ago
parent
commit
cfadb05e3a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      dist/vis.js
  2. +1
    -1
      lib/network/modules/components/Node.js

+ 1
- 1
dist/vis.js View File

@ -27923,7 +27923,7 @@ return /******/ (function(modules) { // webpackBootstrap
}, {
key: 'updateShape',
value: function updateShape(currentShape) {
if (currentShape === this.options.shape) {
if (currentShape === this.options.shape && this.shape) {
this.shape.setOptions(this.options);
} else {
// clean up the shape if it is already made so the new shape can start clean.

+ 1
- 1
lib/network/modules/components/Node.js View File

@ -223,7 +223,7 @@ class Node {
}
updateShape(currentShape) {
if (currentShape === this.options.shape) {
if (currentShape === this.options.shape && this.shape) {
this.shape.setOptions(this.options);
}
else {

Loading…
Cancel
Save