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(
$('<img>')
.attr({src: Ox[
id == 'country' ? 'getImageByGeoname' : 'getImageByLanguage'
]('icon', 16, value)})
id == 'country' ? 'getFlagByGeoname' : 'getFlagByLanguage'
](value, 16)})
.css({
float: 'left',
width: '14px',