9 lines
246 B
JavaScript
9 lines
246 B
JavaScript
$(document).ready(function()
|
|
{
|
|
$('#agree').change(function()
|
|
{
|
|
$('.btn-install').attr('disabled', !$(this).prop('checked'));
|
|
$('.btn-install').css('pointer-events', $(this).prop('checked') ? 'auto' : 'none');
|
|
});
|
|
});
|