]> git.saurik.com Git - cydia.git/blobdiff - Cydia.app/package.html
I hate you Apple, and your tiny little iframes, too.
[cydia.git] / Cydia.app / package.html
index 317f41b2459ec0c2114f1bddd88879d3b51fec5e..5bd2f4c6e6c296e77a36890dbd1c678ca888b507 100644 (file)
@@ -9,6 +9,20 @@
     <script type="text/javascript" src="localize.js"></script>
     <base target="_blank"/>
 
     <script type="text/javascript" src="localize.js"></script>
     <base target="_blank"/>
 
+<script type="text/javascript">
+    var onframe = function(id, name) {
+        var node = document.getElementById(id);
+        var frame = window.frames[name];
+
+            try {
+                node.height = frame.document.body.scrollHeight;
+            } catch (e) {
+                node.height = 370;
+                node.width = 320;
+            }
+    };
+</script>
+
     <!--script type="text/javascript">
         var count = -1;
         var loaded = function() {
     <!--script type="text/javascript">
         var count = -1;
         var loaded = function() {