chore: set different trigger key
Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
parent
a72aeae429
commit
df66d9678b
@ -144,7 +144,7 @@ function addGlobalPageResources(
|
|||||||
script: `
|
script: `
|
||||||
document.addEventListener('nav', async () => {
|
document.addEventListener('nav', async () => {
|
||||||
const chat = await import('https://esm.sh/cursor-chat')
|
const chat = await import('https://esm.sh/cursor-chat')
|
||||||
chat.initCursorChat("quartz-room")
|
chat.initCursorChat(\`cursor-chat-room-\${window.location.host + window.location.pathname}\`, { triggerKey: '.' })
|
||||||
})
|
})
|
||||||
`,
|
`,
|
||||||
loadTime: "afterDOMReady",
|
loadTime: "afterDOMReady",
|
||||||
|
Loading…
Reference in New Issue
Block a user