diff --git a/static/js/pandora/statisticsDialog.js b/static/js/pandora/statisticsDialog.js index 9c46d5a9..10d8d961 100644 --- a/static/js/pandora/statisticsDialog.js +++ b/static/js/pandora/statisticsDialog.js @@ -350,7 +350,7 @@ pandora.ui.statisticsDialog = function() { top: top + 'px' }) .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') { ['continent', 'region', 'country', 'city'].forEach(function(key) {