Skip to content

Commit e138078

Browse files
committed
Update worldmap.js
1 parent ca5e81c commit e138078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

worldmap/worldmap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2613,7 +2613,7 @@ function doCommand(cmd) {
26132613
delete buttons[b.name];
26142614
}
26152615
buttons[b.name] = L.easyButton( b.icon, function() {
2616-
ws.send(JSON.stringify({action:"button", name:b.name, value:b?.value}));
2616+
ws.send(JSON.stringify({action:"button", name:b?.name, value:b?.value}));
26172617
}, b.name, { position:b.position||'topright' });
26182618
buttons[b.name].addTo(map);
26192619
}

0 commit comments

Comments
 (0)