Skip to content

Commit

Permalink
fix: prevent crash on opening primer popup
Browse files Browse the repository at this point in the history
  • Loading branch information
EnixCoda committed Aug 10, 2023
1 parent f56c65d commit 30382b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/DOMHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 30382b3

Please sign in to comment.