Fix entry card contrast (lighter card, more visible border). Fix dblclick: force-select entry before opening edit.
This commit is contained in:
@@ -999,7 +999,13 @@ function attachEvents() {
|
||||
document.querySelectorAll('[draggable="true"], .detail-card').forEach(el => {
|
||||
el.addEventListener('dblclick', function(ev) {
|
||||
const id = this.dataset.id;
|
||||
if (id && !showTrash) { ev.stopPropagation(); openEdit(id); }
|
||||
if (id && !showTrash) {
|
||||
ev.stopPropagation();
|
||||
selectedIds.clear();
|
||||
selectedIds.add(parseInt(id));
|
||||
updateBatchBar();
|
||||
openEdit(id);
|
||||
}
|
||||
});
|
||||
});
|
||||
if (showView) {
|
||||
|
||||
Reference in New Issue
Block a user