mirror of
https://github.com/bckelley/cgm-remote-monitor.git
synced 2026-08-24 03:14:12 -05:00
Fix label's for attribute for plugin-specific settings (#8030)
This commit is contained in:
@@ -142,7 +142,7 @@ function init (client, serverSettings, $) {
|
||||
const id = e.plugin.name + "-" + p.id;
|
||||
const label = p.label;
|
||||
if (p.type == 'boolean') {
|
||||
const html = $(`<dd><input type="checkbox" id="${id}" value="true" /><label for="${id}r">` + translate(label) + `</label></dd>`);
|
||||
const html = $(`<dd><input type="checkbox" id="${id}" value="true" /><label for="${id}">` + translate(label) + `</label></dd>`);
|
||||
dl.append(html);
|
||||
const settingsBase = settings.extendedSettings[e.plugin.name];
|
||||
if (settingsBase[p.id] == true) {
|
||||
|
||||
Reference in New Issue
Block a user