diff --git a/dist/vis.js b/dist/vis.js index 137991dc..1e6cfe83 100644 --- a/dist/vis.js +++ b/dist/vis.js @@ -5,7 +5,7 @@ * A dynamic, browser-based visualization library. * * @version 3.8.1-SNAPSHOT - * @date 2015-01-13 + * @date 2015-01-14 * * @license * Copyright (C) 2011-2014 Almende B.V, http://almende.com @@ -26639,7 +26639,7 @@ return /******/ (function(modules) { // webpackBootstrap this.options.color = util.parseColor(this.options.color); } else if (properties.color === undefined) { - this.options.color = constants.nodes.color; + //this.options.color = constants.nodes.color; } // individual shape properties diff --git a/lib/network/Node.js b/lib/network/Node.js index 51458d7b..bda23271 100644 --- a/lib/network/Node.js +++ b/lib/network/Node.js @@ -186,9 +186,6 @@ Node.prototype.setProperties = function(properties, constants) { // the color object needs to be completely defined. Since groups can partially overwrite the colors, we parse it again, just in case. this.options.color = util.parseColor(this.options.color); } - else if (properties.color === undefined) { - this.options.color = constants.nodes.color; - } // individual shape properties if (properties.radius !== undefined) {this.baseRadiusValue = this.options.radius;}