Commit 2232005f authored by Romain Loth's avatar Romain Loth

minor fixes

parent 49046db4
......@@ -15,7 +15,6 @@ TW.gexfPaths={}; // for file selectors iff servermenu
TW.categories = []; // possible node types and their inverted map
TW.catDict = {};
// a system state is the summary of tina situation
TW.initialSystemState = {
activetypes: [], // <== filled from TW.categories
......@@ -590,17 +589,6 @@ function mainStartGraph(inFormat, inData, twInstance) {
}
// load optional modules
activateModules() ;
// show any already existing panel
document.getElementById("graph-panels").style.display = "block"
// grey message in the search bar from settings
$("#searchinput").attr('placeholder', TW.conf.strSearchBar) ;
setTimeout( function() {
theHtml.classList.remove('waiting')
}, 20)
......
......@@ -620,11 +620,11 @@ function find(lquery){
}
function getNodeLabels(elems){
var labelss=[]
var labels=[]
for(let i in elems){
labelss.push(TW.Nodes[elems[i]].label)
labels.push(TW.Nodes[elems[i]].label)
}
return labelss
return labels
}
function getSelections(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment