mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-05-07 00:46:44 -03:00
fix(trigger-words): edit tag on double click
This commit is contained in:
@@ -49,7 +49,7 @@ describe("TriggerWords HTML Escaping", () => {
|
||||
expect(html).toContain('data-word="word'with'quotes"');
|
||||
expect(html).toContain('data-word="<tag>"');
|
||||
|
||||
// Check for the onclick handler
|
||||
expect(html).toContain('onclick="copyTriggerWord(this.dataset.word)"');
|
||||
// Copy/edit handlers are attached by setupTriggerWordsEditMode, not inline HTML.
|
||||
expect(html).not.toContain('onclick="copyTriggerWord');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user