Disable diff viewer button after displaying the diff. see #109
This commit is contained in:
parent
fe1b8d3eb3
commit
11c84d463f
1 changed files with 1 additions and 0 deletions
|
|
@ -265,6 +265,7 @@ class MessagesArea extends HTMLElement {
|
|||
originalText = promptData.prompt_info?.body_text;
|
||||
}
|
||||
this.appendDiffViewer(originalText, strippedText);
|
||||
diffvButton.disabled = true;
|
||||
});
|
||||
actionButtons.appendChild(diffvButton);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue