diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2008-10-15 00:19:47 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-09-30 07:08:50 +0000 |
commit | ec3f2f5367c6f1246d7e311e2293c6e0e83df0bc (patch) | |
tree | 5c82eb912343ec5e760da643c2b3a263d1f32f9b /Cydia.app/package.js | |
parent | dec6029f07c75ffe08b7edcfa26455c3ee7692e8 (diff) |
Minor adjustments.
Diffstat (limited to 'Cydia.app/package.js')
-rw-r--r-- | Cydia.app/package.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Cydia.app/package.js b/Cydia.app/package.js index 762167a..1a8fc92 100644 --- a/Cydia.app/package.js +++ b/Cydia.app/package.js @@ -134,8 +134,9 @@ $(function () { nid.html(id); var width = nid.width(); - if (width > 240) { - var spacing = (240.0 - nid.width()) / (id.length - 1) + "px"; + var max = 238.0; + if (width > max) { + var spacing = (max - nid.width()) / (id.length - 1) + "px"; nid.css("letter-spacing", spacing); } |