]> git.saurik.com Git - cydia.git/blobdiff - Cydia.app/package.js
Various HTTP improvements.
[cydia.git] / Cydia.app / package.js
index cd1667e66c26095fe47fe122aebdbf8302f375f8..fc8e2181e33160374a203cae25137916fd13bc56 100644 (file)
@@ -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);