mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
Add settings links to modals; update click handler for Lora modal
This commit is contained in:
@@ -54,8 +54,8 @@ export class ModalManager {
|
||||
isOpen: false
|
||||
});
|
||||
|
||||
// Only add click outside handler if it's not the download modal
|
||||
if (id !== 'downloadModal') {
|
||||
// Only add click outside handler if it's the lora modal
|
||||
if (id == 'loraModal') {
|
||||
config.element.addEventListener('click', (e) => {
|
||||
if (e.target === config.element) {
|
||||
this.closeModal(id);
|
||||
|
||||
Reference in New Issue
Block a user