From 789c591301304e2f947a4210f81ac5f731661bf2 Mon Sep 17 00:00:00 2001 From: Steve Date: Tue, 7 Jul 2015 13:28:48 +0100 Subject: [PATCH] Update Network.js Missed "apply" call on DOMtoCanvas call --- lib/network/Network.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;