gitea/web_src/js/markup
william-allspice 88f5d33ab2
Fix race condition in mermaid observer (#32599)
This Pull Request addresses a race condition in the updateIframeHeight
function where it is sometimes called when the iframe is not fully
loaded or accessible resulting in an alarming error message for the
user.

To address this we:
1. Add defensive programming within the updateIframeHeight function
2. Delay instantiating the intersection observer until the iframe has
loaded

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-11-26 06:37:24 +00:00
..
anchors.ts Fix a number of typescript issues (#32459) 2024-11-11 11:13:57 +00:00
asciicast.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
codecopy.ts Fix a number of typescript issues (#32459) 2024-11-11 11:13:57 +00:00
common.ts Fix a number of typescript issues (#32459) 2024-11-11 11:13:57 +00:00
content.ts Fix a number of typescript issues (#32459) 2024-11-11 11:13:57 +00:00
html2markdown.test.ts Support quote selected comments to reply (#32431) 2024-11-07 03:57:07 +00:00
html2markdown.ts Fix a number of typescript issues (#32459) 2024-11-11 11:13:57 +00:00
math.ts Fix some typescript issues (#32586) 2024-11-21 13:57:42 +00:00
mermaid.ts Fix race condition in mermaid observer (#32599) 2024-11-26 06:37:24 +00:00
tasklist.ts Fix a number of typescript issues (#32459) 2024-11-11 11:13:57 +00:00