diff --git a/src/components/chat/bubbles.ts b/src/components/chat/bubbles.ts index 5b7adcca..78767a7a 100644 --- a/src/components/chat/bubbles.ts +++ b/src/components/chat/bubbles.ts @@ -636,6 +636,8 @@ export default class ChatBubbles { // this.listenerSetter.add(this.bubblesContainer)('click', this.onBubblesClick/* , {capture: true, passive: false} */); this.listenerSetter.add(this.scrollable.container)('mousedown', (e) => { + if(e.button !== 0) return; + const code: HTMLElement = findUpTag(e.target, 'CODE'); if(code) { cancelEvent(e);