Skip to content
代码片段 群组 项目
未验证 提交 2c21c66e 编辑于 作者: Raimund Hook's avatar Raimund Hook
浏览文件

Move Mermaid too large alert to the beginning


Signed-off-by: default avatarRaimund Hook <rhook@gitlab.com>
Changelog: changed
上级 f4192c14
No related branches found
No related tags found
无相关合并请求
......@@ -155,7 +155,7 @@ function renderMermaids(els) {
const alertContainer = document.createElement('div');
alertContainer.classList.add(ALERT_CONTAINER_CLASS);
alertContainer.classList.add('gl-mb-5');
parent.after(alertContainer);
parent.before(alertContainer);
createAlert({
message: __(
'Warning: Displaying this diagram might cause performance issues on this page.',
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册