diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-20 18:25:26 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-20 18:25:26 +0200 |
commit | 86bf244293bdb72b4bf27d3204d6984ab0c60a12 (patch) | |
tree | 549ad5b06c4c80349265d8e7f218df14340fc59a /web/js/nms-map.js | |
parent | 746e73a9ea27dc90047ac26950c21f963bf99af5 (diff) |
Add rudimentary way of providing linknets.
Needs a lot of work, including the API side, possibly also the schema.
Diffstat (limited to 'web/js/nms-map.js')
-rw-r--r-- | web/js/nms-map.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/nms-map.js b/web/js/nms-map.js index 224b3db..94e0173 100644 --- a/web/js/nms-map.js +++ b/web/js/nms-map.js @@ -408,7 +408,7 @@ nmsMap._drawBox = function(ctx, x, y, boxw, boxh) { }; nmsMap._connectSwitches = function(sw1, sw2, color1, color2) { - nmsMap._connectBoxes(this._getBox(sw1), this._getBox(sw2), + nmsMap._connectBoxes(nmsMap._getBox(sw1), nmsMap._getBox(sw2), color1, color2); }; |