aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/resources/html/js-src/details-helper.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'haddock-api/resources/html/js-src/details-helper.tsx')
-rw-r--r--haddock-api/resources/html/js-src/details-helper.tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/haddock-api/resources/html/js-src/details-helper.tsx b/haddock-api/resources/html/js-src/details-helper.tsx
index 871b5417..411d38d7 100644
--- a/haddock-api/resources/html/js-src/details-helper.tsx
+++ b/haddock-api/resources/html/js-src/details-helper.tsx
@@ -407,7 +407,6 @@ function restoreToggled() {
// <details> element with id given by the 'data-details-id' property
// of the "toggle" element.
function onToggleClick(ev: MouseEvent) {
- ev.preventDefault();
const toggle = ev.currentTarget as HTMLElement;
toggleDetails(toggle);
storeLocalConfig();