fix: class, id are switched

This commit is contained in:
Dr.Lt.Data 2023-12-09 08:57:18 +09:00
parent 579e40af7c
commit 0b923a593a
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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() {