forked from 0x2620/pandora
use Math.min, not Ox.min
This commit is contained in:
parent
007608ef5f
commit
ef4a0f344a
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ pandora.ui.statisticsDialog = function() {
|
||||||
top: top + 'px'
|
top: top + 'px'
|
||||||
})
|
})
|
||||||
.appendTo($content);
|
.appendTo($content);
|
||||||
top += (isDay ? Ox.min([Ox.len(data[mode].day), 30]) : Ox.len(data[mode][key])) * 16 + 32;
|
top += (isDay ? Math.min(Ox.len(data[mode].day), 30) : Ox.len(data[mode][key])) * 16 + 32;
|
||||||
});
|
});
|
||||||
} else if (id == 'locations') {
|
} else if (id == 'locations') {
|
||||||
['continent', 'region', 'country', 'city'].forEach(function(key) {
|
['continent', 'region', 'country', 'city'].forEach(function(key) {
|
||||||
|
|
Loading…
Reference in a new issue