quartz icon indicating copy to clipboard operation
quartz copied to clipboard

Fix Non-English Anchor Popover Positioning Issue and Update Type Hint

Open cmj2002 opened this issue 4 days ago • 0 comments

This PR addresses two issues:

  1. Corrects the non-English anchor popover positioning problem by changing the hash passed to querySelector to decodeURIComponent(hash). This ensures that the popover correctly scroll its content to the corresponding title for non-English anchors. (fix #409)
  2. Updates the type hint of mouseEnterHandler from HTMLLinkElement to HTMLAnchorElement as the passed element is an <a> element, not a <link> element. Reference: MDN Documentation.

cmj2002 avatar Jul 01 '24 05:07 cmj2002