rustdoc: remove redundant div.search-container
This wrapper DIV was originally added in
89e1fb3223
, when it allowed the search bar's
size to be calculated without using `calc()`. This `width` hack can be
removed using flexbox.
This commit is contained in:
parent
126dbdc9c7
commit
509d8ad454
3 changed files with 24 additions and 31 deletions
|
@ -932,7 +932,7 @@ function loadCss(cssFileName) {
|
|||
* Hide all the popover menus.
|
||||
*/
|
||||
window.hidePopoverMenus = function() {
|
||||
onEachLazy(document.querySelectorAll(".search-container .popover"), elem => {
|
||||
onEachLazy(document.querySelectorAll(".search-form .popover"), elem => {
|
||||
elem.style.display = "none";
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue