mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-02-10 21:42:37 +08:00
add comment
This commit is contained in:
parent
7c91559e64
commit
707a66391e
@ -779,7 +779,7 @@ export class ComfyUI {
|
||||
|
||||
this.switch_workflow_combo = document.getElementById("comfy-switch-workflow-combo");
|
||||
window.addEventListener("focus", () => {
|
||||
// to need to keep the workflow_current_id and selectedIndex to be the same value
|
||||
// to need to keep the workflow_current_id and selectedIndex to be the same value when working on workflows in multiple browser tabs or multiple windows
|
||||
localStorage.setItem("workflow_current_id", this.switch_workflow_combo.selectedIndex);
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user