From 2670709237c18754b33ab9dcb14c709704cb0c6b Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sat, 29 Jun 2024 23:22:29 +0300 Subject: [PATCH] Fix caption template references --- public/scripts/extensions/caption/index.js | 2 +- public/scripts/extensions/caption/settings.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/scripts/extensions/caption/index.js b/public/scripts/extensions/caption/index.js index 543eef7f6..960de7b32 100644 --- a/public/scripts/extensions/caption/index.js +++ b/public/scripts/extensions/caption/index.js @@ -409,7 +409,7 @@ jQuery(async function () { }); } async function addSettings() { - const html = await renderExtensionTemplateAsync('caption', 'settings'); + const html = await renderExtensionTemplateAsync('caption', 'settings', { TEMPLATE_DEFAULT, PROMPT_DEFAULT }); $('#caption_container').append(html); } diff --git a/public/scripts/extensions/caption/settings.html b/public/scripts/extensions/caption/settings.html index 90ff673ba..185d76908 100644 --- a/public/scripts/extensions/caption/settings.html +++ b/public/scripts/extensions/caption/settings.html @@ -84,14 +84,14 @@
- +
- +