Skip to content

Commit

Permalink
Vendor of Thunderbird should be "Mozilla" instead of being empty (moz…
Browse files Browse the repository at this point in the history
  • Loading branch information
UtiluMark committed Nov 6, 2016
1 parent 9285442 commit bae2279
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion extension/chrome/content/nightly.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ variables: {
},

get appid() this.appInfo.ID,
get vendor() this.appInfo.vendor,
get vendor() {
// Fix for vendor not being set in Mozilla Thunderbird
return this.appInfo.name == "Thunderbird" && this.appInfo.vendor == "" ? "Mozilla" : this.appInfo.vendor;
},
get name() this.appInfo.name,
get version() this.appInfo.version,
get appbuildid() this.appInfo.appBuildID,
Expand Down

0 comments on commit bae2279

Please sign in to comment.