map/graph: use sidebar.getWidth directly
This commit is contained in:
parent
93ca06ab75
commit
9a950a2a8e
3 changed files with 6 additions and 6 deletions
lib
|
@ -35,7 +35,7 @@ function (chroma, Map, Sidebar, Tabs, Container, Meshstats, Linklist,
|
|||
function addContent(K) {
|
||||
removeContent()
|
||||
|
||||
content = new K(config, linkScale, sidebar, router, buttons)
|
||||
content = new K(config, linkScale, sidebar.getWidth, router, buttons)
|
||||
contentDiv.appendChild(content.div)
|
||||
|
||||
if (latestData)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue