Give search results a consistent css class to select

Results with and without thumbnails only share an li, and that li
cannot be specifically targeted. Add a class to the li so anything
that wants to deal with individual results can target them.

Bug: T189242
Change-Id: I9b19c5e3d7d72d4be3a5ffdf280bf07b870ff3c0
This commit is contained in:
Erik Bernhardson 2018-09-13 11:49:59 -07:00
parent 1d71375743
commit d7ec79785f

View file

@ -107,7 +107,7 @@ class FullSearchResultWidget implements SearchResultWidget {
"</table>";
}
return "<li>{$html}</li>";
return "<li class='mw-search-result'>{$html}</li>";
}
/**