mirror of
https://github.com/openvk/openvk
synced 2025-06-07 21:04:40 +03:00
fix: notes picker
This commit is contained in:
parent
1552483dbe
commit
e1cbffc10e
1 changed files with 1 additions and 1 deletions
|
@ -1647,7 +1647,7 @@ u(document).on('click', '#__notesAttachment', async (e) => {
|
||||||
insert_place.append(tr('no_notes'))
|
insert_place.append(tr('no_notes'))
|
||||||
}
|
}
|
||||||
|
|
||||||
notes.notes.forEach(note => {
|
notes.items.forEach(note => {
|
||||||
is_attached = (form.find(`.upload-item[data-type='note'][data-id='${note.owner_id}_${note.id}']`)).length > 0
|
is_attached = (form.find(`.upload-item[data-type='note'][data-id='${note.owner_id}_${note.id}']`)).length > 0
|
||||||
insert_place.append(`
|
insert_place.append(`
|
||||||
<div class='display_flex_row _content' data-attachmentdata="${note.owner_id}_${note.id}" data-name='${escapeHtml(note.title)}'>
|
<div class='display_flex_row _content' data-attachmentdata="${note.owner_id}_${note.id}" data-name='${escapeHtml(note.title)}'>
|
||||||
|
|
Loading…
Reference in a new issue