diff --git a/addon/manifest.json b/addon/manifest.json index c12fd87..18afa87 100644 --- a/addon/manifest.json +++ b/addon/manifest.json @@ -2,7 +2,7 @@ "description": "Add sysPass integration", "manifest_version": 2, "name": "syspass", - "version": "1.5.0", + "version": "1.5.1", "homepage_url": "https://github.com/ochorocho/syspass-firefox", "icons": { "48": "icons/border-48.png" diff --git a/javascript/syspass.js b/javascript/syspass.js index 62236db..728a739 100644 --- a/javascript/syspass.js +++ b/javascript/syspass.js @@ -73,7 +73,7 @@ function selectLogin(data) { passwordField = document.querySelector('input[type=password]'); usernameField = passwordField.closest('form').querySelectorAll('input[type="text"]')[0]; - if (settings.dropdown === false) { + if (settings.dropdown !== true) { if (usernameField !== undefined) { usernameField.setAttribute('autocomplete', 'off'); autocompleteField(usernameField, list);