map/graph: use sidebar.getWidth directly

This commit is contained in:
Nils Schneider 2015-07-12 00:09:57 +02:00
parent 93ca06ab75
commit 9a950a2a8e
3 changed files with 6 additions and 6 deletions

View file

@ -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)