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.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/Cydia.app/package.js b/Cydia.app/package.js
index fc8e218..bab0b2f 100644
--- a/Cydia.app/package.js
+++ b/Cydia.app/package.js
@@ -49,8 +49,13 @@ $(function () {
var rating = package.rating;
if (rating == null)
$(".rating").remove();
- else
- $("#rating").src(rating);
+ else {
+ $.xhr(rating, 'GET', {}, null, {
+ success: function (value) {
+ document.getElementById("rating").contentWindow.document.write(value);
+ }
+ });
+ }
$("#settings").href("cydia://package-settings/" + idc);