mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Fix range input type saving with Firefox
This commit is contained in:
parent
2798380de0
commit
280a419b01
1 changed files with 3 additions and 3 deletions
|
|
@ -145,9 +145,9 @@ options.initGeneralSettings = function() {
|
|||
});
|
||||
|
||||
// Only save the setting when mouse is released from the range input
|
||||
$('#tab-general-settings input[type=range]').change(function(e) {
|
||||
$('#tab-general-settings input[type=range]').change(async function(e) {
|
||||
options.settings['redirectAllowance'] = e.target.valueAsNumber;
|
||||
options.saveSettings();
|
||||
await options.saveSettingsPromise();
|
||||
});
|
||||
|
||||
browser.runtime.sendMessage({
|
||||
|
|
@ -254,7 +254,7 @@ options.initGeneralSettings = function() {
|
|||
$('#copyVersionToClipboard').on('click', function () {
|
||||
const copyText = document.getElementById('versionInfo').innerText;
|
||||
navigator.clipboard.writeText(copyText);
|
||||
})
|
||||
});
|
||||
};
|
||||
|
||||
options.showKeePassXCVersions = function(response) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue