diff options
Diffstat (limited to 'web/nms.gathering.org/js/nms.js')
-rw-r--r-- | web/nms.gathering.org/js/nms.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/web/nms.gathering.org/js/nms.js b/web/nms.gathering.org/js/nms.js index 52bea9a..ec7ed06 100644 --- a/web/nms.gathering.org/js/nms.js +++ b/web/nms.gathering.org/js/nms.js @@ -424,19 +424,6 @@ function findSwitch(x,y) { } /* - * onclick handler for the canvas. - * - * Currently just shows info for a switch. - */ -function canvasClick(e) -{ - var sw = findSwitch(e.pageX - e.target.offsetLeft, e.pageY - e.target.offsetTop); - if (sw != undefined) { - nmsInfoBox.click(sw); - } -} - -/* * Set night mode to whatever 'toggle' is. * * Changes background and nav-bar, then leaves the rest to nmsMap. |