Skip to content

Commit

Permalink
Fix label's for attribute for plugin-specific settings (#8030)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackenmen authored Jun 10, 2023
1 parent 6354494 commit 5f953df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client/browser-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 5f953df

Please sign in to comment.