From 38ad6def8cf85e655b82e925aa1ebc021d32a04c Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Wed, 17 Jul 2024 12:22:06 +0300 Subject: [PATCH] fix selectable click --- client/src/views/record/list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/views/record/list.js b/client/src/views/record/list.js index 1e67e1c016..b6854de51f 100644 --- a/client/src/views/record/list.js +++ b/client/src/views/record/list.js @@ -1991,7 +1991,7 @@ class ListRecordView extends View { this.events['click .list a.link'] = (e) => { e.preventDefault(); - const id = $(e.target).attr('data-id'); + const id = $(e.currentTarget).attr('data-id'); if (id) { this.selectModel(id);