diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2009-09-16 20:46:06 +0000 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-09-30 07:13:59 +0000 |
commit | 8cc8eb1ca0ee78a62a14187f1a45ee676d20ece8 (patch) | |
tree | 02f8a26f0a0f55fdc93c8b0c206adc437da06900 /Cydia.app/package.html | |
parent | 4eb59b62e96fcb850bd0f291a5e8f2f7c6bdcf3c (diff) |
I hate you Apple, and your tiny little iframes, too.
Diffstat (limited to 'Cydia.app/package.html')
-rw-r--r-- | Cydia.app/package.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Cydia.app/package.html b/Cydia.app/package.html index 317f41b..5bd2f4c 100644 --- a/Cydia.app/package.html +++ b/Cydia.app/package.html @@ -9,6 +9,20 @@ <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() { |