mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-14 00:14:04 +09:00
preselect text in the Rename chat modal.
This commit is contained in:
@@ -298,7 +298,8 @@
|
|||||||
|
|
||||||
const showChatNameSettings = () => {
|
const showChatNameSettings = () => {
|
||||||
chatNameSettings.classList.add('is-active');
|
chatNameSettings.classList.add('is-active');
|
||||||
(chatNameSettings.querySelector('#settings-chat-name') as HTMLInputElement).focus()
|
(chatNameSettings.querySelector('#settings-chat-name') as HTMLInputElement).focus();
|
||||||
|
(chatNameSettings.querySelector('#settings-chat-name') as HTMLInputElement).select()
|
||||||
}
|
}
|
||||||
|
|
||||||
const saveChatNameSettings = () => {
|
const saveChatNameSettings = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user