Skip to content

Commit

Permalink
Bugfix for condition if dropdown not true
Browse files Browse the repository at this point in the history
  • Loading branch information
ochorocho committed Jan 27, 2020
1 parent 8d4c2f3 commit 1e90e45
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion javascript/syspass.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1e90e45

Please sign in to comment.