diff --git a/src/content/text-selection.js b/src/content/text-selection.js index 0dd1dd8..f3d137e 100644 --- a/src/content/text-selection.js +++ b/src/content/text-selection.js @@ -89,7 +89,7 @@ } function insertQuoteInChat(quoteText) { - const inputWrap = document.querySelector('.si18n-chat-input-wrap'); + const inputWrap = sb.$('.si18n-chat-input-wrap'); if (!inputWrap) return; inputWrap.parentNode.querySelector('.si18n-chat-quote')?.remove();