From ef4a0f344aa41ce494a0022e8b1ca4dffffad77e Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 20 Feb 2013 14:27:52 +0530 Subject: [PATCH] use Math.min, not Ox.min --- static/js/pandora/statisticsDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {