Fix expand after drag

This commit is contained in:
Cohee 2023-12-07 15:29:40 +02:00
parent 0290916035
commit b506a17260
2 changed files with 2 additions and 2 deletions

View File

@ -378,7 +378,7 @@ jQuery(function () {
});
$(document).on('click', '.editor_maximize', function () {
const broId = $(this).data('for');
const broId = $(this).attr('data-for');
const bro = $(`#${broId}`);
if (!bro.length) {

View File

@ -691,7 +691,7 @@ function saveQROrder() {
$(this).find('input').attr('id', `quickReply${i}Label`);
$(this).find('textarea').attr('id', `quickReply${i}Mes`);
$(this).find(`#quickReply${oldOrder}CtxButton`).attr('id', `quickReply${i}CtxButton`);
$(this).find(`#quickReply${oldOrder}ExpandButton`).attr('id', `quickReply${i}ExpandButton`);
$(this).find(`#quickReply${oldOrder}ExpandButton`).attr({ 'data-for': `quickReply${i}Mes`, 'id': `quickReply${i}ExpandButton` });
i++;
});