From 86081ca08ab4754248f38135f2f0a75675bad8e5 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 8 May 2013 11:53:33 +0000 Subject: [PATCH] fix statistics dialog layout --- 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 4ccef7fb6..4d81eea9c 100644 --- a/static/js/pandora/statisticsDialog.js +++ b/static/js/pandora/statisticsDialog.js @@ -425,7 +425,7 @@ pandora.ui.statisticsDialog = function() { top: top + 'px' }) .appendTo($content); - top += Ox.len(data[mode][key]) * 16 + 32; + top += Math.min(Ox.len(data[mode][key]), 1000) * 16 + 32; }); } else if (id == 'platforms') { ['', 'version'].forEach(function(version, i) {