mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-22 07:26:48 +00:00
mermaid
This commit is contained in:
@@ -109,7 +109,9 @@ const initTheme = () => {
|
||||
elements[elements.length - 1].scrollIntoView()
|
||||
// 删除前面的元素,只保留最后一个元素
|
||||
elements[0].parentNode.removeChild(elements[0])
|
||||
elements.pop()
|
||||
if (Object.prototype.hasOwnProperty.call(elements, 'pop')) {
|
||||
elements.pop()
|
||||
}
|
||||
}
|
||||
}, 500)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user