diff --git a/HISTORY.md b/HISTORY.md index 60a0bf8c..1ede2723 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -18,7 +18,7 @@ http://visjs.org - Fixed #970: Implemented options `dataColor`, `axisColor`, and `gridColor`. -### Network +### Network - Fixed Hammerjs direction issue. - Fixed recursion error when node is fixed but has no position. diff --git a/lib/network/Network.js b/lib/network/Network.js index 01101024..4a83cc5f 100644 --- a/lib/network/Network.js +++ b/lib/network/Network.js @@ -425,7 +425,7 @@ Network.prototype.isActive = function () { Network.prototype.setSize = function() {return this.canvas.setSize.apply(this.canvas,arguments);}; Network.prototype.canvasToDOM = function() {return this.canvas.canvasToDOM.apply(this.canvas,arguments);}; -Network.prototype.DOMtoCanvas = function() {return this.canvas.DOMtoCanvas(this.canvas,arguments);}; +Network.prototype.DOMtoCanvas = function() {return this.canvas.DOMtoCanvas.apply(this.canvas,arguments);}; Network.prototype.findNode = function() {return this.clustering.findNode.apply(this.clustering,arguments);}; Network.prototype.isCluster = function() {return this.clustering.isCluster.apply(this.clustering,arguments);}; Network.prototype.openCluster = function() {return this.clustering.openCluster.apply(this.clustering,arguments);}; @@ -493,4 +493,4 @@ Network.prototype.getOptionsFromConfigurator = function() { return options; }; -module.exports = Network; \ No newline at end of file +module.exports = Network;