From ee052d675dcc7c8d9f40a5eb7a6bf1fea6778d73 Mon Sep 17 00:00:00 2001 From: Andrew Van Tassel Date: Fri, 13 Jan 2017 00:54:59 -0700 Subject: [PATCH] Added check for positive time --- CHANGELOG.md | 10 +++++++++- chrome/content/msgNotificationBar.js | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 53a7505..0347bbe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,17 @@ # Change Log +## 3.0.3 - + +### Added +- All locale translations for preferences + +### Fixed +- Messages marked as local due to missing countryCode but had coords + ## 3.0.2 - 2017-01-12 ### Added -- Added Display option for hiding the MailHops bar for CompactHeaders add-on +- Display option for hiding the MailHops bar for CompactHeaders add-on - Started adding locale translations for preferences ## 3.0.1 - 2017-01-07 diff --git a/chrome/content/msgNotificationBar.js b/chrome/content/msgNotificationBar.js index 0513fce..36de566 100644 --- a/chrome/content/msgNotificationBar.js +++ b/chrome/content/msgNotificationBar.js @@ -355,7 +355,7 @@ var mailHopsDisplay = displayText = ' Local message.'; } - if(message.time != null){ + if(!!message.time && message.time >= 0){ message.time = message.time/1000; if(message.time < 60) distanceText += ' in '+message.time+' sec.';