update to reflect new name and signature of Ox.Geo function to get flag icons

This commit is contained in:
rolux 2011-11-23 15:26:58 +01:00
parent d4a5c45eb6
commit 16d7140158

View file

@ -17,8 +17,8 @@ pandora.ui.filter = function(id) {
.append( .append(
$('<img>') $('<img>')
.attr({src: Ox[ .attr({src: Ox[
id == 'country' ? 'getImageByGeoname' : 'getImageByLanguage' id == 'country' ? 'getFlagByGeoname' : 'getFlagByLanguage'
]('icon', 16, value)}) ](value, 16)})
.css({ .css({
float: 'left', float: 'left',
width: '14px', width: '14px',