gui: fix map/graph toggle button

This commit is contained in:
Nils Schneider 2015-07-07 11:31:32 +02:00
parent 2d1916be02
commit b1d876026b

View File

@ -60,7 +60,7 @@ function (chroma, Map, Sidebar, Tabs, Container, Meshstats, Linklist,
contentDiv.appendChild(buttons)
var buttonToggle = document.createElement("button")
buttonToggle.textContent = ""
buttonToggle.textContent = ""
buttonToggle.onclick = function () {
if (content.constructor === Map) {
buttonToggle.textContent = ""