Skip to content

Commit

Permalink
Minor bugfixes around explicitSelector listbox.
Browse files Browse the repository at this point in the history
Add v2.1.1 to changelog
  • Loading branch information
ldreier committed Jul 4, 2022
1 parent a114dc1 commit a485024
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v2.1.1:
- min. version setting 91.3.1 is not valid, so chose 91.0
- some minor bugs fixed

# v2.1.0:
- support Thunderbird 102 (max. version setting 91.\* > 102.\*)
- use new API "relatedMessageId" to identify e.g. the message we reply-to.
Expand Down
8 changes: 2 additions & 6 deletions scripts/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,7 @@ function accountSelectorChanged(result) {
);
// Remember preferences of currently showed account
perAccountSettings.identityMechanism = document.getElementById("defaultIdentity").checked ? 0 : 1;
if (document.getElementById("explicitSelector").selectedItem) {
perAccountSettings.explicitIdentity = document.getElementById(
"explicitSelector"
).selectedItem.value;
}
perAccountSettings.explicitIdentity = document.getElementById("explicitSelector").value;
perAccountSettings.replyFromRecipient = document.getElementById(
"replyFromRecipient"
).checked;
Expand Down Expand Up @@ -175,7 +171,7 @@ function identityMechanismChanged(result) {
explicitSelector.selectedIndex = perAccountSettings.index;
} else {
// sync with gui display
perAccountSettings.explicitIdentity = document.getElementById("explicitSelector").target.value;
perAccountSettings.explicitIdentity = explicitSelector.value;
}

notifySettingsChanged();
Expand Down

0 comments on commit a485024

Please sign in to comment.