From 402112583d57d8368d2bc27ccc5ce47cc986a0be Mon Sep 17 00:00:00 2001 From: Lisa Durand Date: Mon, 24 Apr 2023 10:53:18 +0200 Subject: [PATCH] fix test with good classname in js for batch --- app/javascript/controllers/batch_operation_controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/controllers/batch_operation_controller.ts b/app/javascript/controllers/batch_operation_controller.ts index abc294b9c..dcb719dc5 100644 --- a/app/javascript/controllers/batch_operation_controller.ts +++ b/app/javascript/controllers/batch_operation_controller.ts @@ -20,7 +20,7 @@ export class BatchOperationController extends ApplicationController { this.inputTargets.forEach((e) => (e.checked = target.checked)); this.toggleSubmitButtonWhenNeeded(); - const pagination = document.querySelector('tfoot .pagination'); + const pagination = document.querySelector('tfoot .fr-pagination'); if (pagination) { displayNotice(this.inputTargets); }