fix: potential null-deref on impact-wildcard.js

https://github.com/ltdrdata/ComfyUI-Impact-Pack/issues/731
This commit is contained in:
Dr.Lt.Data
2024-09-05 00:08:29 +09:00
parent 76653016dc
commit e848a9dfb7
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -6,11 +6,11 @@ let refresh_btn2 = document.querySelector('button[title="Refresh widgets in node
let orig = refresh_btn.onclick;
refresh_btn.onclick = function() {
refresh_btn?.onclick = function() {
orig();
api.fetchApi('/impact/wildcards/refresh');
};
refresh_btn2.addEventListener('click', function() {
refresh_btn2?.addEventListener('click', function() {
api.fetchApi('/impact/wildcards/refresh');
});
+1 -1
View File
@@ -1,7 +1,7 @@
import configparser
import os
version_code = [7, 4, 3]
version_code = [7, 4, 4]
version = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
dependency_version = 22
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui-impact-pack"
description = "This extension offers various detector nodes and detailer nodes that allow you to configure a workflow that automatically enhances facial details. And provide iterative upscaler."
version = "7.4.3"
version = "7.4.4"
license = { file = "LICENSE.txt" }
dependencies = ["segment-anything", "scikit-image", "piexif", "transformers", "opencv-python-headless", "GitPython", "scipy>=1.11.4"]