MCPcopy Create free account
hub / github.com/NsLearning/LangHelper / focusOnInput

Function focusOnInput

ChatGPT/src-tauri/src/scripts/chat.js:600–603  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

598}
599
600function focusOnInput() {
601 // This currently works because there is only a single `<textarea>` element on the ChatGPT UI page.
602 document.getElementsByTagName("textarea")[0].focus();
603}
604
605function setIcon(type) {
606 return {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected