summaryrefslogtreecommitdiff
path: root/MobileCydia.app
diff options
context:
space:
mode:
authorGrant Paul <chpwn@chpwn.com>2011-02-05 00:39:15 -0800
committerGrant Paul <chpwn@chpwn.com>2011-02-05 00:39:15 -0800
commitafcc9400f543602df4f2e25f7ffc94ea1637836e (patch)
tree5727f65c29f9d48e9f6731fbf5a99a4fcf9a5eb5 /MobileCydia.app
parent003fc610c40f29f5e9195a890b198e48aad14c49 (diff)
Avoid flashing empty package view as it loads the package details.
Diffstat (limited to 'MobileCydia.app')
-rw-r--r--MobileCydia.app/package.html6
-rw-r--r--MobileCydia.app/package.js2
2 files changed, 7 insertions, 1 deletions
diff --git a/MobileCydia.app/package.html b/MobileCydia.app/package.html
index c91b52c..985b207 100644
--- a/MobileCydia.app/package.html
+++ b/MobileCydia.app/package.html
@@ -196,8 +196,12 @@
height: 1px;
width: 320px;
}
+
+ .invisible * {
+ visibility: hidden;
+ }
</style>
-</head><body class="pinstripe">
+</head><body class="pinstripe invisible">
<panel>
<fieldset id="header">
diff --git a/MobileCydia.app/package.js b/MobileCydia.app/package.js
index 0e2566b..7dee044 100644
--- a/MobileCydia.app/package.js
+++ b/MobileCydia.app/package.js
@@ -285,4 +285,6 @@ $(function () {
else
$("#source-description").html($.xml(description));
}
+
+ $("body").removeClass("invisible");
});