gitea/web_src/js
william-allspice 88f5d33ab2
Some checks are pending
release-nightly / nightly-binary (push) Waiting to run
release-nightly / nightly-docker-rootful (push) Waiting to run
release-nightly / nightly-docker-rootless (push) Waiting to run
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 Fix some places which doesn't repsect org full name setting (#32243) 2024-11-18 06:24:49 +00:00
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 Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
standalone Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
utils Fixed Issue of Review Menu Shown Behind (#32631) 2024-11-26 09:24:56 +08:00
vendor Remove jQuery import from some files (#32512) 2024-11-15 02:48:41 +08:00
webcomponents Fix a number of typescript issues (#32308) 2024-10-31 14:57:40 +00:00
bootstrap.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
bootstrap.ts Add types to fetch,toast,bootstrap,svg (#31627) 2024-07-25 23:31:24 +00:00
globals.d.ts Fix some typescript issues (#32586) 2024-11-21 13:57:42 +00:00
globals.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
htmx.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
index.ts Refactor sidebar label selector (#32460) 2024-11-10 08:26:42 +00:00
svg.test.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
svg.ts Fix a number of typescript issues (#32459) 2024-11-11 11:13:57 +00:00
types.ts Fix some typescript issues (#32586) 2024-11-21 13:57:42 +00:00
utils.test.ts Add avif image file support (#32508) 2024-11-15 00:55:50 +00:00
utils.ts Add avif image file support (#32508) 2024-11-15 00:55:50 +00:00
vitest.setup.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00