From c9c4e945b8da1a6ca8da49a9bf5f9cd480a555b4 Mon Sep 17 00:00:00 2001 From: Antonin Date: Thu, 6 Oct 2016 23:04:39 +0200 Subject: [PATCH] attr('value', '') != val('') pour les inputs --- js/app/date_poll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app/date_poll.js b/js/app/date_poll.js index 222da49..2088f7b 100644 --- a/js/app/date_poll.js +++ b/js/app/date_poll.js @@ -148,7 +148,7 @@ $(document).ready(function () { $(this).find('.hours:gt(2)').parent().remove(); }); $('#d0-h0').focus(); - $selected_days.find('fieldset .hours').attr('value', ''); + $selected_days.find('fieldset .hours').val(''); }); // Button "Remove all days"