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)
|
contentDiv.appendChild(buttons)
|
||||||
|
|
||||||
var buttonToggle = document.createElement("button")
|
var buttonToggle = document.createElement("button")
|
||||||
buttonToggle.textContent = ""
|
buttonToggle.textContent = ""
|
||||||
buttonToggle.onclick = function () {
|
buttonToggle.onclick = function () {
|
||||||
if (content.constructor === Map) {
|
if (content.constructor === Map) {
|
||||||
buttonToggle.textContent = ""
|
buttonToggle.textContent = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user