Skip to content

EspoCRM – Open Source CRM Application

Cleanup

Yurii83a5b7ba3860
diff --git a/client/src/views/record/list-base.ts b/client/src/views/record/list-base.ts
index 24e14863db..093b7fc623 100644
--- a/client/src/views/record/list-base.ts
+++ b/client/src/views/record/list-base.ts
@@ -2133,10 +2133,6 @@ abstract class ListBaseRecordView<
this.addHandler('click', 'a.reset-custom-order', () => this.resetCustomOrder());
this.addHandler('click', 'a.link', (e, target) => {
- if (!(e instanceof MouseEvent)) {
- throw new Error();
- }
-
if (e.ctrlKey || e.metaKey || e.shiftKey) {
return;
}