Index: trunk/extensions/MobileFrontend/javascripts/beta_opensearch.js |
— | — | @@ -62,7 +62,7 @@ |
63 | 63 | sb.style.border = 0 + pixels; |
64 | 64 | logo.style.visibility = 'hidden'; |
65 | 65 | goButton.style.visibility = 'hidden'; |
66 | | - |
| 66 | + |
67 | 67 | var pE = document.getElementById( 'placeholder' ); |
68 | 68 | if ( !pE ) { |
69 | 69 | pT = document.createElement( 'span' ); |
— | — | @@ -81,11 +81,11 @@ |
82 | 82 | pE.style.display = 'block'; |
83 | 83 | search.style.backgroundColor = 'transparent'; |
84 | 84 | } |
85 | | - |
| 85 | + |
86 | 86 | if ( pE && search.value != '' ) { |
87 | 87 | pE.style.display = 'none'; |
88 | 88 | } |
89 | | - |
| 89 | + |
90 | 90 | var removeResults = document.getElementById( 'remove-results' ); |
91 | 91 | if ( !removeResults ) { |
92 | 92 | rrd = document.createElement( 'a' ); |