Block reordering while generating

This commit is contained in:
SillyLossy
2023-03-29 00:47:09 +03:00
parent 0bf66d522b
commit 45df23ff9a

View File

@ -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;
}