diff --git a/CHANGELOG.md b/CHANGELOG.md index 0347bbe..1c5e119 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,10 +3,11 @@ ## 3.0.3 - ### Added -- All locale translations for preferences +- More locale translations for preferences ### Fixed - Messages marked as local due to missing countryCode but had coords +- Preferences styles ## 3.0.2 - 2017-01-12 diff --git a/chrome/content/mailhops.js b/chrome/content/mailhops.js index f86af61..db1c4be 100644 --- a/chrome/content/mailhops.js +++ b/chrome/content/mailhops.js @@ -9,7 +9,7 @@ var mailHops = msgURI: null, isLoaded: false, options: { - 'version':'MailHops Plugin 3.0.2', + 'version':'MailHops Plugin 3.0.3', 'lan':'en', 'unit':'mi', 'api_http':'https://', diff --git a/chrome/content/preferences.js b/chrome/content/preferences.js index 0f3305b..d0c624d 100644 --- a/chrome/content/preferences.js +++ b/chrome/content/preferences.js @@ -90,9 +90,7 @@ var mailHopPreferences = { document.getElementById("mailhops-membership-link").addEventListener("click", function () { mailHopsUtils.launchExternalURL(this.getAttribute('data-account-url')); }); - document.getElementById("forecastio").addEventListener("click", function () { - mailHopsUtils.launchExternalURL('https://darksky.net'); - }); + this.saveAPIKey(); document.getElementById("mailhop.bar_color").addEventListener("input", function () { diff --git a/chrome/content/preferences.xul b/chrome/content/preferences.xul index 41d42a0..6ed4574 100644 --- a/chrome/content/preferences.xul +++ b/chrome/content/preferences.xul @@ -1,7 +1,7 @@ - + @@ -13,7 +13,7 @@ buttons="accept,cancel" onload="mailHopPreferences.loadPreferences();" ondialogaccept="return mailHopPreferences.savePreferences();" - title="MailHops Preferences"> + title="MailHops &mailhops_preferences;">