Fix caption template references

2670709237c18754b33ab9dcb14c709704cb0c6b

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

2 files changed, +3 -3Ignore whitespace
public/scripts/extensions/caption/index.js+1 -1
@@ -409,7 +409,7 @@ jQuery(async function () {
409409 });
410410 }
411411 async function addSettings() {
412412 const html = await renderExtensionTemplateAsync('caption', 'settings', { TEMPLATE_DEFAULT, PROMPT_DEFAULT });
413413 $('#caption_container').append(html);
414414 }
415415
public/scripts/extensions/caption/settings.html+2 -2
@@ -84,14 +84,14 @@
8484 </div>
8585 <div id="caption_prompt_block">
8686 <label for="caption_prompt" data-i18n="Caption Prompt">Caption Prompt</label>
8787 <textarea id="caption_prompt" class="text_pole" rows="1" placeholder="&lt; Use default &gt;">${{PROMPT_DEFAULT}}</textarea>
8888 <label class="checkbox_label margin-bot-10px" for="caption_prompt_ask" title="Ask for a custom prompt every time an image is captioned.">
8989 <input id="caption_prompt_ask" type="checkbox" class="checkbox">
9090 <span data-i18n="Ask every time">Ask every time</span>
9191 </label>
9292 </div>
9393 <label for="caption_template"><span data-i18n="Message Template">Message Template</span> <small><span data-i18n="(use _space">(use </span> <code>&lcub;&lcub;caption&rcub;&rcub;</code> <span data-i18n="macro)">macro)</span></small></label>
9494 <textarea id="caption_template" class="text_pole" rows="2" placeholder="&lt; Use default &gt;">${{TEMPLATE_DEFAULT}}</textarea>
9595 <label class="checkbox_label margin-bot-10px" for="caption_refine_mode">
9696 <input id="caption_refine_mode" type="checkbox" class="checkbox">
9797 <span data-i18n="Edit captions before saving">Edit captions before saving</span>