omit country name from map tooltip (fixes #396)

This commit is contained in:
rlx 2012-02-15 10:43:40 +00:00
parent 5f1e21f7e2
commit 08423110e9
2 changed files with 2 additions and 4 deletions

View file

@ -9,7 +9,7 @@ Ox.Keyboard = (function() {
var buffer = '', bound = [], resetTimeout, triggerTimeout;
Ox.UI.ready(function() {
Ox.UI.$document.keydown(keydown)
Ox.$document.keydown(keydown)
});
function keydown(event) {

View file

@ -245,9 +245,7 @@ Ox.MapMarker = function(options) {
+ Ox.getFlagByGeoname(that.place.geoname, 16)
+ '" style="float: left; margin: 1px 0 1px -1px; border-radius: 4px"/>'
+ '<div style="float: left; margin: 4px -1px 0 4px; font-size: 9px;">'
+ that.place.name
+ (country && country.name != that.place.name ? ', ' + country.name : '')
+ '</div>'
+ that.place.name + '</div>'
})
.addClass('OxMapMarkerTooltip');
}