| (function () { | |
| function shushTextfield() { | |
| const IDs = [ | |
| "txt2img_prompt", | |
| "txt2img_neg_prompt", | |
| "img2img_prompt", | |
| "img2img_neg_prompt", | |
| "hires_prompt", | |
| "hires_neg_prompt", | |
| ]; | |
| for (const id of IDs) { | |
| const textArea = document.getElementById(id)?.querySelector("textarea"); | |
| if (textArea == null) continue; | |
| textArea.setAttribute("autocorrect", "off"); | |
| textArea.setAttribute("autocapitalize", "off"); | |
| textArea.setAttribute("autocomplete", "off"); | |
| textArea.setAttribute("spellcheck", false); | |
| } | |
| } | |
| onOptionsAvailable(() => { if (opts.no_spellcheck) shushTextfield(); }); | |
| })(); | |
Xet Storage Details
- Size:
- 762 Bytes
- Xet hash:
- 123375a6d97b89524b44d00f640d9dd241b22fd48fd52ead380066a467921c1c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.