Browse Source

fix: class, id are switched

pull/229/head
Dr.Lt.Data 11 months ago
parent
commit
0b923a593a
  1. 2
      __init__.py
  2. 2
      js/comfyui-manager.js

2
__init__.py

@ -18,7 +18,7 @@ import re
import signal
import nodes
version = "V1.10"
version = "V1.10.1"
print(f"### Loading: ComfyUI-Manager ({version})")
required_comfyui_revision = 1793

2
js/comfyui-manager.js vendored

@ -435,7 +435,7 @@ async function updateAll(update_check_checkbox, manager_dialog) {
return false;
}
if(response1.status == 201 || response2.status == 201) {
app.ui.dialog.show("ComfyUI and all extensions have been updated to the latest version.<BR>To apply the updated custom node, please <button id='cm-small-button' class='cm-restart-button'>RESTART</button> ComfyUI. And refresh browser.");
app.ui.dialog.show("ComfyUI and all extensions have been updated to the latest version.<BR>To apply the updated custom node, please <button class='cm-small-button' id='cm-reboot-button'>RESTART</button> ComfyUI. And refresh browser.");
const rebootButton = document.getElementById('cm-reboot-button');
rebootButton.onclick = function() {

Loading…
Cancel
Save