forked from 0x2620/oxjs
use Ox.$
This commit is contained in:
parent
a97170ea5b
commit
37ab78f05b
7 changed files with 22 additions and 23 deletions
|
|
@ -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)
|
||||
})
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue