From d976a4caa8219e9445fef3d2cec495778ed2919a Mon Sep 17 00:00:00 2001 From: tianshujie Date: Fri, 8 Jul 2022 08:28:36 +0800 Subject: [PATCH] * Fix bug #24697. --- module/install/js/license.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/module/install/js/license.js b/module/install/js/license.js index 99df7e1e08..a6f1c1055b 100644 --- a/module/install/js/license.js +++ b/module/install/js/license.js @@ -1,4 +1,8 @@ $(document).ready(function() { - $('#agree').change(function(){$('.btn-install').attr('disabled', !$(this).prop('checked'));}); + $('#agree').change(function() + { + $('.btn-install').attr('disabled', !$(this).prop('checked')); + $('.btn-install').css('pointer-events', $(this).prop('checked') ? 'auto' : 'none'); + }); });