diff --git a/themes/common.js b/themes/common.js index 150d472..bc7dc37 100644 --- a/themes/common.js +++ b/themes/common.js @@ -11,13 +11,14 @@ function gradioApp() { } -const copiedIcon = ''; -const copyIcon = ''; function addCopyButton(botElement) { // https://github.com/GaiZhenbiao/ChuanhuChatGPT/tree/main/web_assets/javascript // Copy bot button + const copiedIcon = ''; + const copyIcon = ''; + const messageBtnColumnElement = botElement.querySelector('.message-btn-row'); if (messageBtnColumnElement) { // Do something if .message-btn-column exists, for example, remove it