Fix event listener closure in LLM prompt view for proper feedback handling
This commit is contained in:
@@ -221,6 +221,8 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||||||
URL.revokeObjectURL(url);
|
URL.revokeObjectURL(url);
|
||||||
showFeedback('Downloaded');
|
showFeedback('Downloaded');
|
||||||
|
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
// Handlers for the second prompt (llm-question-prompt-text)
|
// Handlers for the second prompt (llm-question-prompt-text)
|
||||||
const copyBtnText = document.getElementById('copy-llm-prompt-text');
|
const copyBtnText = document.getElementById('copy-llm-prompt-text');
|
||||||
|
|||||||
Reference in New Issue
Block a user