mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-08-05 02:45:28 +00:00
forgot let
This commit is contained in:
parent
0598c1e2c2
commit
2fc43e04e3
1 changed files with 1 additions and 1 deletions
|
|
@ -4787,7 +4787,7 @@ import { wireArrowUpRecall, getUserMessagesFromChatHistory } from './composerArr
|
|||
if (msgIndex < 0) return;
|
||||
|
||||
const bodyEl = userMsgElement.querySelector('.body');
|
||||
const currentText = (userMsgElement.dataset.raw || (bodyEl ? bodyEl.textContent : '') || '').trim();
|
||||
let currentText = (userMsgElement.dataset.raw || (bodyEl ? bodyEl.textContent : '') || '').trim();
|
||||
currentText = currentText.replace(/\s*\[\d+ attachment\(s\)\]$/, '');
|
||||
|
||||
// Replace body with an editable textarea
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue