Skip to content

Commit

Permalink
Merge pull request #299 from scm6079/issue-297-patch-1
Browse files Browse the repository at this point in the history
[Bug] no button in the latest SD webui release (the extension also is the latest version #297
  • Loading branch information
butaixianran authored Aug 6, 2024
2 parents b628255 + 98ff5cc commit 9898b5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascript/civitai_helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ function extract_version(text) {
let matches;
// for forge
if (text[0] == 'f')
matches = text.match(/v[0-9]\.[0-9]\.[0-9]/);
matches = text.match(/v\d+\.\d+\.\d+/);
else
matches = text.match(/[0-9]\.[0-9]\.[0-9]/);
matches = text.match(/\d+\.\d+\.\d+/);

if (matches === null || matches.length == 0) {
return null;
Expand Down

0 comments on commit 9898b5c

Please sign in to comment.