rustdoc: allow popover child links to work

No need to prevent default click behavior on a <div>, it will also disable all child click behavior.
This commit is contained in:
Ardis Lu 2023-01-02 17:26:16 -08:00
parent d6f99e535a
commit 6c254ed6dc
No known key found for this signature in database

View File

@ -1040,9 +1040,6 @@ function loadCss(cssUrl) {
help_button.appendChild(container);
container.onblur = helpBlurHandler;
container.onclick = event => {
event.preventDefault();
};
help_button.onblur = helpBlurHandler;
help_button.children[0].onblur = helpBlurHandler;
}