From 48efbc2d95c4f0e29b862308d5d0951635468b0d Mon Sep 17 00:00:00 2001 From: wangzemei Date: Sat, 8 Oct 2022 11:02:34 +0800 Subject: [PATCH] * optimize the format --- www/js/my.full.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/www/js/my.full.js b/www/js/my.full.js index e8097e94ca..34cc475891 100644 --- a/www/js/my.full.js +++ b/www/js/my.full.js @@ -1351,10 +1351,11 @@ function handleKanbanWidthAttr () $(addAttrEle).closest('.width-radio-row').addClass('required'); $('#colWidth').attr('disabled',fluidBoard == 1); $('#minColWidth, #maxColWidth').attr('disabled',fluidBoard == 0); - $("#minColWidth, #maxColWidth").on('input', function(){ + $("#minColWidth, #maxColWidth").on('input', function() + { $('#minColWidthLabel, #maxColWidthLabel').remove(); $('#minColWidth, #maxColWidth').removeClass('has-error'); - }) + }); $(document).on('change', "#mainContent input[name='fluidBoard']", function(e) { $('#colWidth').attr('disabled', e.target.value == 1); @@ -1373,5 +1374,5 @@ function handleKanbanWidthAttr () $('#colWidthLabel').remove(); $('#colWidth').removeClass('has-error'); } - }) + }); }