Skip to content
Snippets Groups Projects
Commit 7f535905 authored by Harm Kube's avatar Harm Kube
Browse files

Activating old neighbor menu

parent 448e65c1
No related branches found
No related tags found
No related merge requests found
Pipeline #52774 passed
import jQuery from "jquery"; import jQuery from "jquery";
// import { NodeNeighborOverlay } from "./neighbors"; import { NodeNeighborOverlay } from "./neighbors";
import * as Helpers from "../helpers"; import * as Helpers from "../helpers";
import * as Config from "../../config"; import * as Config from "../../config";
...@@ -16,7 +16,7 @@ class NodeInfoOverlay { ...@@ -16,7 +16,7 @@ class NodeInfoOverlay {
*/ */
constructor(graph) { constructor(graph) {
this.graph = graph; this.graph = graph;
// this.bottomMenu = null; this.bottomMenu = null;
} }
/** /**
...@@ -26,13 +26,13 @@ class NodeInfoOverlay { ...@@ -26,13 +26,13 @@ class NodeInfoOverlay {
create() { create() {
const overlayDiv = this.createOverlayMainDiv(); const overlayDiv = this.createOverlayMainDiv();
this.createOverlayElements(overlayDiv); this.createOverlayElements(overlayDiv);
// this.bottomMenu = new NodeNeighborOverlay( this.bottomMenu = new NodeNeighborOverlay(
// this.graph, this.graph,
// overlayDiv, overlayDiv,
// this, this,
// "node" "node"
// ); );
// this.bottomMenu.create(); this.bottomMenu.create();
jQuery("#infoOverlayCloseButton").click(function () { jQuery("#infoOverlayCloseButton").click(function () {
jQuery("#infoOverlay").slideUp("fast"); jQuery("#infoOverlay").slideUp("fast");
...@@ -170,7 +170,7 @@ class NodeInfoOverlay { ...@@ -170,7 +170,7 @@ class NodeInfoOverlay {
linkArea.hide(); linkArea.hide();
} }
// this.bottomMenu.updateTabs(node); this.bottomMenu.updateTabs(node);
jQuery("#infoOverlay").slideDown("fast"); jQuery("#infoOverlay").slideDown("fast");
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment