aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends/Xhtml/Themes.hs
diff options
context:
space:
mode:
authorSteve Hart <steve@stevehart.net>2022-03-25 16:33:34 -0400
committerGitHub <noreply@github.com>2022-03-25 21:33:34 +0100
commitd8dbbdad173baafe73acc98e6427c468fd3e13cc (patch)
tree787e4e9655993904481943961b97e32825e9e4e1 /haddock-api/src/Haddock/Backends/Xhtml/Themes.hs
parent53244da3330ada568f80e2a07b4c6fe7268c91fc (diff)
Make links in Synopsis functional again (#1458)
Commit e41c1cbe9f0476997eac7b4a3f17cbc6b2262faf added a call to e.preventDefault() when handling click events that reach a toggle element. This prevents the browser from following hyperlinks within the Synopsis section when they are clicked by a user. This commit restores functioning hyperlinks within the Synopsis section by removing the call to e.preventDefault(), as it does not appear to be necessary, and removing it increases the flexibility of the details-helper code.
Diffstat (limited to 'haddock-api/src/Haddock/Backends/Xhtml/Themes.hs')
0 files changed, 0 insertions, 0 deletions