0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-19 15:04:40 +01:00
gitea/web_src/js
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
..
components
features Fixed Issue of Review Menu Shown Behind (#32631) 2024-11-26 09:24:56 +08:00
markup Fix race condition in mermaid observer (#32599) 2024-11-26 06:37:24 +00:00
modules Fix some typescript issues (#32586) 2024-11-21 13:57:42 +00:00
render
standalone
utils Fixed Issue of Review Menu Shown Behind (#32631) 2024-11-26 09:24:56 +08:00
vendor
webcomponents
bootstrap.test.ts
bootstrap.ts
globals.d.ts Fix some typescript issues (#32586) 2024-11-21 13:57:42 +00:00
globals.ts
htmx.ts
index.ts
svg.test.ts
svg.ts
types.ts Fix some typescript issues (#32586) 2024-11-21 13:57:42 +00:00
utils.test.ts
utils.ts
vitest.setup.ts