The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix "Ctrl+Enter doesn't work when textarea has focus" regression introduced in #491.
Tomoaki Hayasaka22bde7957e18
diff --git a/web/extensions/core/keybinds.js b/web/extensions/core/keybinds.jsindex 1825007a6..42c228017 100644--- a/web/extensions/core/keybinds.js+++ b/web/extensions/core/keybinds.js@@ -5,12 +5,6 @@ app.registerExtension({name: id,init() {const keybindListener = function(event) {- const target = event.composedPath()[0];-- if (target.tagName === "INPUT" || target.tagName === "TEXTAREA") {- return;- }-const modifierPressed = event.ctrlKey || event.metaKey;// Queue prompt using ctrl or command + enter@@ -19,6 +13,12 @@ app.registerExtension({return;}+ const target = event.composedPath()[0];++ if (target.tagName === "INPUT" || target.tagName === "TEXTAREA") {+ return;+ }+const modifierKeyIdMap = {"s": "#comfy-save-button",83: "#comfy-save-button",