diff --git a/display/overlays/nodeinfo.js b/display/overlays/nodeinfo.js index f588fc6b0e83aa0676fb661dae8c757b5f032354..37b34c3509be102b2b38cd923972ac04b9bd247c 100644 --- a/display/overlays/nodeinfo.js +++ b/display/overlays/nodeinfo.js @@ -1,6 +1,6 @@ import jQuery from "jquery"; -// import { NodeNeighborOverlay } from "./neighbors"; +import { NodeNeighborOverlay } from "./neighbors"; import * as Helpers from "../helpers"; import * as Config from "../../config"; @@ -16,7 +16,7 @@ class NodeInfoOverlay { */ constructor(graph) { this.graph = graph; - // this.bottomMenu = null; + this.bottomMenu = null; } /** @@ -26,13 +26,13 @@ class NodeInfoOverlay { create() { const overlayDiv = this.createOverlayMainDiv(); this.createOverlayElements(overlayDiv); - // this.bottomMenu = new NodeNeighborOverlay( - // this.graph, - // overlayDiv, - // this, - // "node" - // ); - // this.bottomMenu.create(); + this.bottomMenu = new NodeNeighborOverlay( + this.graph, + overlayDiv, + this, + "node" + ); + this.bottomMenu.create(); jQuery("#infoOverlayCloseButton").click(function () { jQuery("#infoOverlay").slideUp("fast"); @@ -170,7 +170,7 @@ class NodeInfoOverlay { linkArea.hide(); } - // this.bottomMenu.updateTabs(node); + this.bottomMenu.updateTabs(node); jQuery("#infoOverlay").slideDown("fast"); } }