1
0
Fork 0
forked from 0x2620/oxjs
This commit is contained in:
rolux 2013-12-06 22:15:04 +01:00
commit 37ab78f05b
7 changed files with 22 additions and 23 deletions

View file

@ -361,7 +361,7 @@ Ox.Map = function(options, self) {
bottom: 0
})
.appendTo(that);
self.$placeFlag = $('<img>')
self.$placeFlag = Ox.$('<img>')
.addClass('OxFlag')
.attr({
src: Ox.PATH + 'Ox.Geo/png/icons/16/NTHH.png'
@ -1252,7 +1252,7 @@ Ox.Map = function(options, self) {
.data({country: country})
.empty()
.append(
$('<img>').attr({
Ox.$('<img>').attr({
src: Ox.getFlagByGeoname(place.geoname, 16)
})
)
@ -1602,7 +1602,7 @@ Ox.Map = function(options, self) {
self.$placeControls.name.options({title: value});
} else if (key == 'geoname') {
self.$placeControls.flag.empty().append(
$('<img>').attr({
Ox.$('<img>').attr({
src: Ox.getFlagByGeoname(value, 16)
})
);