Skip to content

Commit

Permalink
fix: Multiple maxkb tag specifies different ids
Browse files Browse the repository at this point in the history
Closes #1659
  • Loading branch information
liuruibin committed Dec 18, 2024
1 parent dd6eee6 commit c2292ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/application/template/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const initChat=(root)=>{
function initMaxkb(){
const maxkb=document.createElement('div')
const root=document.createElement('div')
root.id="maxkb"
root.id=crypto.randomUUID()
initMaxkbStyle(maxkb)
maxkb.appendChild(root)
document.body.appendChild(maxkb)
Expand Down

0 comments on commit c2292ce

Please sign in to comment.