gui: fix map/graph toggle button
This commit is contained in:
parent
2d1916be02
commit
b1d876026b
|
@ -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 = ""
|
||||
|
|
Loading…
Reference in a new issue