mirror of
https://github.com/MailHops/mailhops-plugin.git
synced 2025-05-18 23:30:08 -07:00
Fixed display for local message
This commit is contained in:
parent
00d378f1bc
commit
78e0399ddb
@ -176,7 +176,7 @@ mailHops.displayResult = function ( distance, image, city, state, countryName, r
|
|||||||
else
|
else
|
||||||
displayText +=' ( '+addCommas(Math.round(distance.kilometers))+' km traveled )';
|
displayText +=' ( '+addCommas(Math.round(distance.kilometers))+' km traveled )';
|
||||||
}
|
}
|
||||||
else
|
else if(displayText=='')
|
||||||
displayText = ' Local message.';
|
displayText = ' Local message.';
|
||||||
mailHops.container.setAttribute("onclick","launchMap('"+route.toString()+"');");
|
mailHops.container.setAttribute("onclick","launchMap('"+route.toString()+"');");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user