1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/web_src
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
..
css Fixed Issue of Review Menu Shown Behind (#32631) 2024-11-26 09:24:56 +08:00
fomantic Remove fomantic dimmer module (#30723) 2024-04-29 14:49:50 +00:00
js Fix race condition in mermaid observer (#32599) 2024-11-26 06:37:24 +00:00
svg Support migration from AWS CodeCommit (#31981) 2024-09-11 07:49:42 +08:00