fix: prevent crash on opening primer popup

This commit is contained in:
EnixCoda 2023-08-10 23:52:27 +08:00
parent f56c65d879
commit 30382b39d8

View file

@ -103,7 +103,7 @@ export function setBodyIndent(shouldShowGitako: boolean) {
* </html>
*/
const mountPointContainer = document.documentElement
const mountPointContainer = document.body
export function insertMountPoint() {
return $(formatID(rootElementID), undefined, () => {
const element = document.createElement('div')