X-Git-Url: https://git.saurik.com/cydia.git/blobdiff_plain/e59669fd4c835122cb849fd7cd2d9bfa7c236a9b..b2d2f219c262ab5d8f233c9dfa97a3ac9775ad64:/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_();