X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/471937c64902a6ef7bbc2b28bd51adf485e494fc..b68d70aabd90066f6a60595ef23875dee5cba205:/MobileCydia.app/package.js
diff --git a/MobileCydia.app/package.js b/MobileCydia.app/package.js
index b9f85ff0..4d016d47 100644
--- a/MobileCydia.app/package.js
+++ b/MobileCydia.app/package.js
@@ -45,7 +45,7 @@ swap_ = function (on, off, time) {
};
};
-var special_ = function () {
+$(function () {
if (package == null)
return;
@@ -285,46 +285,4 @@ var special_ = function () {
else
$("#source-description").html($.xml(description));
}
-};
-
-$(special_);
-
-var special = function () {
- $(".deleted").removeClass("deleted");
- $(".inserted").remove();
-
- $("#icon")[0].className = 'flip-0';
- $("#thumb")[0].className = 'flip-180';
-
- /* XXX: this could be better */
- $("#rating-href").href(null);
- $("#rating-none").css("display", "none");
- $("#rating-done").css("display", "none");
-
- var notice = $("#notice-src");
-
- notice[0].outerHTML = '';
-
- var depiction = $("#depiction-src");
-
- depiction[0].outerHTML = '';
-
- special_();
-};
-
-cydia.setSpecial(special);
+});