fix statistics dialog

This commit is contained in:
rolux 2013-02-20 00:26:08 +05:30
parent 3d03e17fce
commit 5b291d4834

View file

@ -350,7 +350,7 @@ pandora.ui.statisticsDialog = function() {
top: top + 'px'
})
.appendTo($content);
top += (isDay ? 30 : Ox.len(data[mode][key])) * 16 + 32;
top += (isDay ? Ox.min(Ox.len(data[mode].day), 30) : Ox.len(data[mode][key])) * 16 + 32;
});
} else if (id == 'locations') {
['continent', 'region', 'country', 'city'].forEach(function(key) {