21: 22: 23: 80: const id = b.dataset.prev || b.dataset.dl || b.dataset.del; 81: if (b.dataset.dl) window.open(`/attachments/${id}/download`, "_blank"); 82: if (b.dataset.prev) { 94: if (b.dataset.del) confirmedAction(`Delete “${state.data.find(x=>x.id==id)?.name || id}”?`, async () => { 100: state.page = +b.dataset.pg; load();