Extend caption/img gen generated text preview rows

df865dda857376ce6ea708fdb5f35c822f5cb2d7

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +2 -2Ignore whitespace
public/scripts/extensions/caption/index.js+1 -1
@@ -108,7 +108,7 @@ async function wrapCaptionTemplate(caption) {
108108 'Review and edit the generated caption:',
109109 'Press "Cancel" to abort the caption sending.',
110110 messageText,
111111 { rows: 58, okButton: 'Send' });
112112
113113 if (!messageText) {
114114 throw new Error('User aborted the caption sending.');
public/scripts/extensions/stable-diffusion/index.js+1 -1
@@ -734,7 +734,7 @@ async function onSaveStyleClick() {
734734async function refinePrompt(prompt, isNegative) {
735735 if (extension_settings.sd.refine_mode) {
736736 const text = isNegative ? '<h3>Review and edit the <i>negative</i> prompt:</h3>' : '<h3>Review and edit the prompt:</h3>';
737737 const refinedPrompt = await callGenericPopup(text + 'Press "Cancel" to abort the image generation.', POPUP_TYPE.INPUT, prompt.trim(), { rows: 58, okButton: 'Continue' });
738738
739739 if (refinedPrompt) {
740740 return String(refinedPrompt);