Steven Burrows

Fixed the issue when the details panel would remain visible after navigating awa…

…y from the topo page and back

Removed Tabs
Changed method name to begin with a verb

Change-Id: I01d1ed0635858902e3adc82e23af258e0c689827
......@@ -35,10 +35,14 @@
*/
// internal state
var hovered, // the node over which the mouse is hovering
selections = {}, // currently selected nodes (by id)
selectOrder = [], // the order in which we made selections
var hovered, selections, selectOrder, consumeClick;
function setInitialState () {
hovered = null; // the node over which the mouse is hovering
selections = {}; // currently selected nodes (by id)
selectOrder = []; // the order in which we made selections
consumeClick = false; // used to coordinate with SVG click handler
}
// ==========================
......@@ -286,6 +290,7 @@
function initSelect(_api_) {
api = _api_;
setInitialState();
}
function destroySelect() { }
......