Index: trunk/extensions/MobileFrontend/javascripts/beta_opensearch.js |
— | — | @@ -81,6 +81,11 @@ |
82 | 82 | pE.style.display = 'block'; |
83 | 83 | search.style.backgroundColor = 'transparent'; |
84 | 84 | } |
| 85 | + |
| 86 | + if ( pE && search.value != '' ) { |
| 87 | + pE.style.display = 'none'; |
| 88 | + } |
| 89 | + |
85 | 90 | var removeResults = document.getElementById( 'remove-results' ); |
86 | 91 | if ( !removeResults ) { |
87 | 92 | rrd = document.createElement( 'a' ); |