Ticket #1856: iphone-footer-v2.patch

File iphone-footer-v2.patch, 839 bytes (added by bee27, 13 years ago)
  • web/javascript/common.js

     
    6969                // different padding.
    7070                $('div.dialog_container div.dialog_window a').css('padding', '2px 10px 3px');
    7171        }
    72     if (iPhone)
    73         if(window.navigator.standalone)
    74             // Fix min height for iPhone when run in full screen mode from home screen
    75             // so the footer appears in the right place
    76             $('body div#torrent_container').css('min-height', '338px');
     72        if (iPhone && window.navigator.standalone)
     73                // Fix min height for iPhone when run in full screen mode from home screen
     74                // so the footer appears in the right place
     75                $('body div#torrent_container').css('min-height', '338px');
    7776});
    7877
    7978/*