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:
parent
1d71375743
commit
d7ec79785f
1 changed files with 1 additions and 1 deletions
|
|
@ -107,7 +107,7 @@ class FullSearchResultWidget implements SearchResultWidget {
|
|||
"</table>";
|
||||
}
|
||||
|
||||
return "<li>{$html}</li>";
|
||||
return "<li class='mw-search-result'>{$html}</li>";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue