Skip to content

Commit

Permalink
fix: potential ui bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ltdrdata committed Jul 2, 2024
1 parent f1fb2a0 commit d84435e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import importlib

version_code = [0, 80, 4]
version_code = [0, 80, 5]
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
print(f"### Loading: ComfyUI-Inspire-Pack ({version_str})")

Expand Down
2 changes: 1 addition & 1 deletion js/image_util.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ app.registerExtension({

Object.defineProperty(node, 'imgs', {
set(v) {
if (!v[0].complete) {
if (v && !v[0].complete) {
let orig_onload = v[0].onload;
v[0].onload = function(v2) {
if(orig_onload)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "comfyui-inspire-pack"
description = "This extension provides various nodes to support Lora Block Weight and the Impact Pack. Provides many easily applicable regional features and applications for Variation Seed."
version = "0.80.4"
version = "0.80.5"
license = "LICENSE"
dependencies = ["matplotlib", "cachetools"]

Expand Down

0 comments on commit d84435e

Please sign in to comment.