summaryrefslogtreecommitdiff
path: root/Cydia.app/package.js
diff options
context:
space:
mode:
Diffstat (limited to 'Cydia.app/package.js')
-rw-r--r--Cydia.app/package.js6
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);