]> git.saurik.com Git - cydia.git/commitdiff
Avoid flashing empty package view as it loads the package details.
authorGrant Paul <chpwn@chpwn.com>
Sat, 5 Feb 2011 08:39:15 +0000 (00:39 -0800)
committerGrant Paul <chpwn@chpwn.com>
Sat, 5 Feb 2011 08:39:15 +0000 (00:39 -0800)
MobileCydia.app/package.html
MobileCydia.app/package.js

index c91b52ce4c4e462f14483baba9c85e7d768a7b34..985b207846042a33a429419d47660dade40b5e82 100644 (file)
             height: 1px;
             width: 320px;
         }
+        
+        .invisible * {
+            visibility: hidden;
+        }
     </style>
-</head><body class="pinstripe">
+</head><body class="pinstripe invisible">
 <panel>
 
 <fieldset id="header">
index 0e2566bd0e8faf9b81a1df4a69015bec451d2257..7dee044aa31d8d5f413e8dd17498fae5f11cab9b 100644 (file)
@@ -285,4 +285,6 @@ $(function () {
         else
             $("#source-description").html($.xml(description));
     }
+
+    $("body").removeClass("invisible");
 });