mirror of
https://github.com/SilenceLurker/ST-Amily2-Chat-Optimisation.git
synced 2026-06-06 11:15:50 +00:00
Update page-window.js
This commit is contained in:
@@ -150,6 +150,7 @@ export function showSummaryModal(summaryText, callbacks) {
|
|||||||
const regenerateButton = $('<button class="menu_button secondary interactable" style="margin-right: auto;">重新生成</button>');
|
const regenerateButton = $('<button class="menu_button secondary interactable" style="margin-right: auto;">重新生成</button>');
|
||||||
regenerateButton.on('click', () => {
|
regenerateButton.on('click', () => {
|
||||||
if (onRegenerate) {
|
if (onRegenerate) {
|
||||||
|
dialogElement[0].close();
|
||||||
onRegenerate(dialogElement);
|
onRegenerate(dialogElement);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user