Commit a46ef0f5 authored by Vasyl Bodnaruk's avatar Vasyl Bodnaruk

Fix drop value

parent 16651415
......@@ -70,7 +70,7 @@
<label for="count" class="col-form-label">Every:</label>
</div>
<div class="col-md-2">
<input class="form-control" type="text" placeholder="N" id="count" name="count">
<input class="form-control" type="text" placeholder="N" id="count" name="count" value="1">
</div>
</div>
</div>
......@@ -100,9 +100,9 @@
$('.custom-control').on('click', function() {
var input = $(this).find('input');
if (input.prop('id') === 'radio4') {
$('#count').val('').prop('disabled', true)
$('#count').prop('disabled', true)
} else {
$('#count').val('').prop('disabled', false)
$('#count').prop('disabled', false)
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment