mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Allow label to trigger ignore checkbox
Add an unique id to the ignoreCheckbox in the banner and update the "for" attribute in the label.
This commit is contained in:
parent
059d0ccf50
commit
1339e26cd9
1 changed files with 2 additions and 2 deletions
|
|
@ -69,8 +69,8 @@ kpxcBanner.create = async function(credentials = {}) {
|
|||
const dismissButton = kpxcUI.createElement('button', 'kpxc-button kpxc-red-button', { 'id': 'kpxc-banner-btn-dismiss' }, tr('popupButtonDismiss'));
|
||||
|
||||
const separator = kpxcUI.createElement('div', 'kpxc-separator');
|
||||
const ignoreCheckbox = kpxcUI.createElement('input', 'kpxc-checkbox', { type: 'checkbox', name: 'ignoreCheckbox' });
|
||||
const checkboxLabel = kpxcUI.createElement('label', 'kpxc-checkbox-label', { for: 'ignoreCheckbox' }, tr('popupButtonIgnore'));
|
||||
const ignoreCheckbox = kpxcUI.createElement('input', 'kpxc-checkbox', { type: 'checkbox', name: 'ignoreCheckbox', id: 'kpxc-banner-ignoreCheckbox' });
|
||||
const checkboxLabel = kpxcUI.createElement('label', 'kpxc-checkbox-label', { for: 'kpxc-banner-ignoreCheckbox' }, tr('popupButtonIgnore'));
|
||||
|
||||
// No existing credentials to update --> disable Update button
|
||||
if (credentials.list.length === 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue