Merge pull request #351 from mjezek09/feat/labeled-checkbox
Wrap graph server selection checkbox into label
This commit is contained in:
commit
157962324d
@ -110,10 +110,10 @@ export class SocketManager {
|
||||
.forEach(serverName => {
|
||||
const serverRegistration = this._app.serverRegistry.getServerRegistration(serverName)
|
||||
|
||||
controlsHTML += `<td>
|
||||
controlsHTML += `<td><label>
|
||||
<input type="checkbox" class="graph-control" minetrack-server-id="${serverRegistration.serverId}" ${serverRegistration.isVisible ? 'checked' : ''}>
|
||||
${serverName}
|
||||
</input></td>`
|
||||
</label></td>`
|
||||
|
||||
// Occasionally break table rows using a magic number
|
||||
if (++lastRowCounter % 6 === 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user