mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Block reordering while generating
This commit is contained in:
@ -4035,7 +4035,7 @@ $(document).ready(function () {
|
||||
});
|
||||
|
||||
$(document).on("click", ".mes_edit_up", function() {
|
||||
if (this_edit_mes_id <= 0) {
|
||||
if (is_send_press || this_edit_mes_id <= 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -4064,7 +4064,7 @@ $(document).ready(function () {
|
||||
});
|
||||
|
||||
$(document).on("click", ".mes_edit_down", function () {
|
||||
if (this_edit_mes_id >= chat.length - 1) {
|
||||
if (is_send_press || this_edit_mes_id >= chat.length - 1) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user