diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2008-10-21 12:30:25 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-09-30 07:08:51 +0000 |
commit | 680eb1352b50571cdc347e295cf6189b13cc53c5 (patch) | |
tree | c91d08439b5c7b29dd2289ad45eac606a1408cd9 /Cydia.app/package.js | |
parent | 365d45da86873eab6dd3b3faebb54745e9eae7bb (diff) |
Numerous style changes to support ratings integration.
Diffstat (limited to 'Cydia.app/package.js')
-rw-r--r-- | Cydia.app/package.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Cydia.app/package.js b/Cydia.app/package.js index cd1667e..fc8e218 100644 --- a/Cydia.app/package.js +++ b/Cydia.app/package.js @@ -46,7 +46,11 @@ $(function () { $("#name").html(name); space("#latest", package.latest, 93); - $("#rating").src("http://cydia.saurik.com/test_.html"); + var rating = package.rating; + if (rating == null) + $(".rating").remove(); + else + $("#rating").src(rating); $("#settings").href("cydia://package-settings/" + idc); |