From d57d09549eae73b425ce977ed1748f962d42c9e6 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 7 Sep 2016 11:38:43 +0100 Subject: [PATCH] Bug 17222: Use jQuery selector instead Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt index 960532668c..77e17e31c7 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-memberentry.tt @@ -985,7 +985,7 @@ }); $(".cleardate").on("click", function(){ - document.getElementById('borrower_dateofbirth').value=''; + $('#borrower_dateofbirth').val(''); return false; }); //]]> -- 2.39.5