diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js index 3d10e8c379..1e60d1e0ef 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/holds.js +++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js @@ -642,9 +642,7 @@ $(document).ready(function () { $("#suspend-modal-until").flatpickr().clear(); // clean the input } $("#suspend-modal").modal("hide"); - if ($(".select_hold_all").prop("checked")) { - $(".select_hold_all").click(); - } + $(".select_hold_all").click(); }); } catch (error) { if (error.status === 404) {