mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 22:35:45 +00:00
Clean up syntax of noresultindicator
This commit is contained in:
parent
848f1b82c5
commit
773395448d
|
@ -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 '<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>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -588,4 +587,4 @@ window.WMTypeAhead = function ( appendTo, searchInput ) {
|
|||
typeAheadEl: typeAheadEl,
|
||||
query: loadQueryScript
|
||||
};
|
||||
};
|
||||
};
|
Loading…
Reference in a new issue