fix test with good classname in js for batch

This commit is contained in:
Lisa Durand 2023-04-24 10:53:18 +02:00
parent 75415cf6dc
commit 402112583d

View file

@ -20,7 +20,7 @@ export class BatchOperationController extends ApplicationController {
this.inputTargets.forEach((e) => (e.checked = target.checked)); this.inputTargets.forEach((e) => (e.checked = target.checked));
this.toggleSubmitButtonWhenNeeded(); this.toggleSubmitButtonWhenNeeded();
const pagination = document.querySelector('tfoot .pagination'); const pagination = document.querySelector('tfoot .fr-pagination');
if (pagination) { if (pagination) {
displayNotice(this.inputTargets); displayNotice(this.inputTargets);
} }