diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt index c77a11e047..8e58e28e23 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt @@ -117,8 +117,12 @@ // Show or hide holds notes $(".shownotes").click(function(){ biblioNum = suffixOf($(this).attr("id"), "_"); - $(".notesrow").hide(); - $("#notesrow_"+biblioNum).show(); + if( $("#notesrow_"+biblioNum).is(":visible") ) { + $("#notesrow_"+biblioNum).hide(); + } + else { + $("#notesrow_"+biblioNum).show(); + } }); // When 'Place Hold' button is clicked @@ -360,7 +364,7 @@ Clear date
[% END %] - [% IF ( OPACShowHoldNotes ) %][% IF ( bibitemloo.holdable ) %]