Skip to content

Commit

Permalink
Merge pull request #451 from Array-Cats/main
Browse files Browse the repository at this point in the history
civitaiHelperFix.ts 错误修正
  • Loading branch information
canisminor1990 authored Nov 7, 2023
2 parents 51acc6e + eb08e71 commit 454bd5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion javascript/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/script/civitaiHelperFix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ const updateCardForCivitai = () => {
addTriggerWordsNode.title = 'Add trigger words to prompt';
addTriggerWordsNode.setAttribute(
'onclick',
`add_trigger_words(event, '${modelType}', ', ${searchTerm}')`,
`add_trigger_words(event, '${modelType}', '${searchTerm}')`,
);

const usePreviewPromptNode = document.createElement('a');
Expand Down

0 comments on commit 454bd5c

Please sign in to comment.