diff --git a/web/js/auto-formatter.js b/web/js/auto-formatter.js index b3e7a84..44dca74 100644 --- a/web/js/auto-formatter.js +++ b/web/js/auto-formatter.js @@ -101,7 +101,7 @@ export function formatPromptText(text) { let formattedLine = cleanedTags.join(', '); // Add a trailing comma and space if the setting is enabled and line contains valid tags - if (formattedLine.length > 0 && settingValues.addTrailingComma) { + if (formattedLine.length > 0 && settingValues.useTrailingComma) { formattedLine += ', '; }