mirror of
https://github.com/keepassxreboot/keepassxc-browser.git
synced 2026-03-11 08:54:43 +00:00
Remove unnecessary variable.
This commit is contained in:
parent
cc8ce983f6
commit
ca72d95e6a
1 changed files with 1 additions and 2 deletions
|
|
@ -500,7 +500,6 @@ options.initSitePreferences = function() {
|
|||
return;
|
||||
}
|
||||
|
||||
const errorMessage = tr('optionsErrorValueExists');
|
||||
let value = manualUrl.value;
|
||||
|
||||
// Fills the last / char if needed. This ensures the compatibility with Match Patterns
|
||||
|
|
@ -510,7 +509,7 @@ options.initSitePreferences = function() {
|
|||
|
||||
// Check if the URL is already in the list
|
||||
if (options.settings['sitePreferences'].some(s => s.url === value)) {
|
||||
options.createWarning(manualUrl, errorMessage);
|
||||
options.createWarning(manualUrl, tr('optionsErrorValueExists'));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue