Index: trunk/extensions/MobileFrontend/javascripts/beta_opensearch.js |
— | — | @@ -185,12 +185,12 @@ |
186 | 186 | search.focus(); |
187 | 187 | } |
188 | 188 | if ( !sections || sections.length < 1 ) { |
189 | | - results.innerHTML = "<div class=\"suggestions-results\" title=\"No Results\">No Results</div>"; |
| 189 | + results.innerHTML = '<ul class="suggestions-results" title="No Results"><li class="suggestions-result">No Results</li></div>'; |
190 | 190 | } else { |
191 | 191 | if( results.firstChild ) { |
192 | 192 | results.removeChild( results.firstChild ); |
193 | 193 | } |
194 | | - suggestions = document.createElement( 'div' ); |
| 194 | + suggestions = document.createElement( 'ul' ); |
195 | 195 | suggestions.className = 'suggestions-results'; |
196 | 196 | results.appendChild( suggestions ); |
197 | 197 | suggestionListener = function() { |
— | — | @@ -200,7 +200,7 @@ |
201 | 201 | |
202 | 202 | for ( i = 0; i < sections.length; i++ ) { |
203 | 203 | section = sections[i]; |
204 | | - suggestionsResult = document.createElement( 'div' ); |
| 204 | + suggestionsResult = document.createElement( 'li' ); |
205 | 205 | link = document.createElement( 'a' ); |
206 | 206 | suggestionsResult.setAttribute( 'title', section.label ); |
207 | 207 | suggestionsResult.className = 'suggestions-result'; |