Skip to content

Commit

Permalink
Merge pull request #10 from PerCollECT/3-show-only-two-top-layers-by-…
Browse files Browse the repository at this point in the history
…default

3 show only two top layers by default
  • Loading branch information
ChristophPopp authored Nov 24, 2023
2 parents 0174386 + 166f71b commit 89571f1
Show file tree
Hide file tree
Showing 4 changed files with 436 additions and 111 deletions.
2 changes: 2 additions & 0 deletions content.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@ if (isIE()) {
// parse data only if tree not loaded already
if (getDataFromSessionStorage(repoName + "Tree") === null) {
let parsedData = parseData(dataHost, dataDict, jsonDataFile);
// let parsedTreeChildren = parseData(dataHost, dataDict, jsonTreeFile);
if(!parsedData.length) throw new Error("index.js: Data error");
keepDataInSessionStorage(repoName + "Tree", JSON.stringify(parsedData));
// keepDataInSessionStorage(repoName + "TreeChildren", JSON.stringify(parsedTreeChildren));
}

initGraph();
Expand Down
Loading

0 comments on commit 89571f1

Please sign in to comment.