Skip to content

Commit c2292ce

Browse files
committed
fix: Multiple maxkb tag specifies different ids
Closes #1659
1 parent dd6eee6 commit c2292ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/application/template/embed.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ const initChat=(root)=>{
131131
function initMaxkb(){
132132
const maxkb=document.createElement('div')
133133
const root=document.createElement('div')
134-
root.id="maxkb"
134+
root.id=crypto.randomUUID()
135135
initMaxkbStyle(maxkb)
136136
maxkb.appendChild(root)
137137
document.body.appendChild(maxkb)

0 commit comments

Comments
 (0)