omit country name from map tooltip (fixes #396)
This commit is contained in:
parent
5f1e21f7e2
commit
08423110e9
2 changed files with 2 additions and 4 deletions
|
@ -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) {
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue