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 => {
|
.forEach(serverName => {
|
||||||
const serverRegistration = this._app.serverRegistry.getServerRegistration(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' : ''}>
|
<input type="checkbox" class="graph-control" minetrack-server-id="${serverRegistration.serverId}" ${serverRegistration.isVisible ? 'checked' : ''}>
|
||||||
${serverName}
|
${serverName}
|
||||||
</input></td>`
|
</label></td>`
|
||||||
|
|
||||||
// Occasionally break table rows using a magic number
|
// Occasionally break table rows using a magic number
|
||||||
if (++lastRowCounter % 6 === 0) {
|
if (++lastRowCounter % 6 === 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user