diff --git a/resources/scripts/wm-typeahead.js b/resources/scripts/wm-typeahead.js index d5e26705..73250c05 100644 --- a/resources/scripts/wm-typeahead.js +++ b/resources/scripts/wm-typeahead.js @@ -245,16 +245,15 @@ window.WMTypeAhead = function ( appendTo, searchInput ) { const titlemsg = mw.message( 'citizen-search-no-results-title', searchString ).text(), descmsg = mw.message( 'citizen-search-no-results-desc', searchString ).text(); - return ` -< div class = "suggestions-dropdown" > - < div class = "suggestion-link" > - < div class = "suggestion-text" > - < h3 class = "suggestion-title" > ` + titlemsg + ` < / h3 > - < p class = "suggestion-description" > ` + descmsg + ` < / p > - < / div > - < div class = "suggestion-thumbnail" > < / div > - < / div > -< / div > `; + return '
' + descmsg + '
' + + '