mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-08-07 11:20:21 +08:00
feat: add option to disable focus to input box after answering (#317)
This commit is contained in:
@@ -360,6 +360,17 @@ export function GeneralPart({ config, updateConfig }) {
|
||||
/>
|
||||
{t('Always pin the floating window')}
|
||||
</label>
|
||||
<label>
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={config.focusAfterAnswer}
|
||||
onChange={(e) => {
|
||||
const checked = e.target.checked
|
||||
updateConfig({ focusAfterAnswer: checked })
|
||||
}}
|
||||
/>
|
||||
{t('Focus to input box after answering')}
|
||||
</label>
|
||||
<br />
|
||||
</>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user