mirror of
https://github.com/MailHops/mailhops-plugin.git
synced 2025-05-18 07:10:09 -07:00
Added check for positive time
This commit is contained in:
parent
464c40d06d
commit
ee052d675d
10
CHANGELOG.md
10
CHANGELOG.md
@ -1,9 +1,17 @@
|
|||||||
# Change Log
|
# 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
|
## 3.0.2 - 2017-01-12
|
||||||
|
|
||||||
### Added
|
### 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
|
- Started adding locale translations for preferences
|
||||||
|
|
||||||
## 3.0.1 - 2017-01-07
|
## 3.0.1 - 2017-01-07
|
||||||
|
@ -355,7 +355,7 @@ var mailHopsDisplay =
|
|||||||
displayText = ' Local message.';
|
displayText = ' Local message.';
|
||||||
}
|
}
|
||||||
|
|
||||||
if(message.time != null){
|
if(!!message.time && message.time >= 0){
|
||||||
message.time = message.time/1000;
|
message.time = message.time/1000;
|
||||||
if(message.time < 60)
|
if(message.time < 60)
|
||||||
distanceText += ' in '+message.time+' sec.';
|
distanceText += ' in '+message.time+' sec.';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user