X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/7805b429e02282807a81130521fcecd0aeb123ed..600b6e78ab4e55fde8fe838101bfb542df044286:/Cydia.app/package.js diff --git a/Cydia.app/package.js b/Cydia.app/package.js index 6ec06cf1..104bd8c6 100644 --- a/Cydia.app/package.js +++ b/Cydia.app/package.js @@ -78,16 +78,7 @@ var special_ = function () { if (typeof value.notice == "undefined") $(".notice").addClass("deleted"); else - $("#notice-src")[0].outerHTML = ''; + $("#notice-src").src(value.notice); if (typeof value.rating == "undefined") $(".rating").addClass("deleted"); @@ -210,17 +201,7 @@ var special_ = function () { $(".depiction").addClass("deleted"); else { $(".description").addClass("deleted"); - - $("#depiction-src")[0].outerHTML = ''; + $("#depiction-src").src(depiction); } var description = package.longDescription; @@ -327,7 +308,6 @@ var special = function () { ' width="320"' + ' height="0"' + ' target="_top"' + - ' onload="onframe(' + "'notice-src', 'notice'" + ')"' + '>'; var depiction = $("#depiction-src"); @@ -339,7 +319,7 @@ var special = function () { ' width="320"' + ' height="0"' + ' target="_top"' + - ' onload="onframe(' + "'depiction-src', 'depiction'" + ')"' + + ' onload_="loaded()"' + '>'; special_();