mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-27 07:41:07 +00:00
Merge pull request #63 from StarCitizenTools/dev
Fixed no result indicatorfor search suggestion
This commit is contained in:
commit
f1281dd9cb
|
@ -245,16 +245,15 @@ window.WMTypeAhead = function ( appendTo, searchInput ) {
|
||||||
const titlemsg = mw.message( 'citizen-search-no-results-title', searchString ).text(),
|
const titlemsg = mw.message( 'citizen-search-no-results-title', searchString ).text(),
|
||||||
descmsg = mw.message( 'citizen-search-no-results-desc', searchString ).text();
|
descmsg = mw.message( 'citizen-search-no-results-desc', searchString ).text();
|
||||||
|
|
||||||
return `
|
return '<div class="suggestions-dropdown" >' +
|
||||||
< div class = "suggestions-dropdown" >
|
'<div class="suggestion-link">' +
|
||||||
< div class = "suggestion-link" >
|
'<div class="suggestion-text">' +
|
||||||
< div class = "suggestion-text" >
|
'<h3 class="suggestion-title">' + titlemsg + '</h3>' +
|
||||||
< h3 class = "suggestion-title" > ` + titlemsg + ` < / h3 >
|
'<p class="suggestion-description">' + descmsg + '</p>' +
|
||||||
< p class = "suggestion-description" > ` + descmsg + ` < / p >
|
'</div>' +
|
||||||
< / div >
|
'<div class="suggestion-thumbnail"></div>' +
|
||||||
< div class = "suggestion-thumbnail" > < / div >
|
'</div>' +
|
||||||
< / div >
|
'</div>';
|
||||||
< / div > `;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue