Index: trunk/extensions/MobileFrontend/javascripts/beta_opensearch.js |
— | — | @@ -16,6 +16,8 @@ |
17 | 17 | var sb = document.getElementById( 'searchbox' ); |
18 | 18 | var logo = document.getElementById( 'logo' ); |
19 | 19 | var goButton = document.getElementById( 'goButton' ); |
| 20 | +var content = document.getElementById( 'content' ); |
| 21 | +var footer = document.getElementById( 'footer' ); |
20 | 22 | |
21 | 23 | function hideResults() { |
22 | 24 | results.style.display = 'none'; |
— | — | @@ -49,6 +51,8 @@ |
50 | 52 | results.style.top = ( sq.offsetTop + sq.offsetHeight ) + pixels; |
51 | 53 | results.style.width = document.body.clientWidth + pixels; |
52 | 54 | results.style.minHeight = '100%'; |
| 55 | + content.style.display = 'none'; |
| 56 | + footer.style.display = 'none'; |
53 | 57 | results.style.borderTop = 'solid 1px #A6A6A6'; |
54 | 58 | results.style.backgroundColor = '#E6E6E6'; |
55 | 59 | results.style.paddingTop = 5 + pixels; |
— | — | @@ -74,6 +78,12 @@ |
75 | 79 | } |
76 | 80 | |
77 | 81 | function removeResults() { |
| 82 | + if ( content ) { |
| 83 | + content.style.display = 'block'; |
| 84 | + } |
| 85 | + if ( footer ) { |
| 86 | + footer.style.display = 'block'; |
| 87 | + } |
78 | 88 | if ( ol ) { |
79 | 89 | if ( sq ) { |
80 | 90 | logo.style.visibility = 'visible'; |
Index: trunk/extensions/MobileFrontend/stylesheets/beta_common.css |
— | — | @@ -1,11 +1,7 @@ |
2 | | -html { |
3 | | - min-height: 100%; |
4 | | -} |
5 | | - |
6 | | -body { |
| 2 | +html, body { |
7 | 3 | margin: 0px; |
8 | 4 | padding: 0px; |
9 | | - min-height: 100%; |
| 5 | + height: 100%; |
10 | 6 | } |
11 | 7 | |
12 | 8 | .clearlink { |
Index: trunk/extensions/MobileFrontend/MobileFrontend.php |
— | — | @@ -88,7 +88,7 @@ |
89 | 89 | } |
90 | 90 | |
91 | 91 | class ExtMobileFrontend { |
92 | | - const VERSION = '0.5.87'; |
| 92 | + const VERSION = '0.5.88'; |
93 | 93 | |
94 | 94 | /** |
95 | 95 | * @var DOMDocument |
— | — | @@ -1037,7 +1037,7 @@ |
1038 | 1038 | $commonAttributes = array( 'mp-tfa', 'mp-itn' ); |
1039 | 1039 | |
1040 | 1040 | $content = $this->mainPage->createElement( 'div' ); |
1041 | | - $content->setAttribute( 'id', 'main_box' ); |
| 1041 | + $content->setAttribute( 'id', 'content' ); |
1042 | 1042 | |
1043 | 1043 | if ( $featuredArticle ) { |
1044 | 1044 | $h2FeaturedArticle = $this->mainPage->createElement( 'h2', self::$messages['mobile-frontend-featured-article'] ); |