删除不必要的逗号

pull/1265/head
sight 2023-05-28 22:57:56 +08:00
parent 09f3c2c9fc
commit b4b25c4a52
1 changed files with 2 additions and 2 deletions

View File

@ -672,7 +672,7 @@
'#{{id}} li.layui-this,#{{id}} td.layui-this>div{background-color:{{theme}} !important;}',
options.theme.indexOf('circle') !== -1 ? '' : '#{{id}} .layui-this{background-color:{{theme}} !important;}',
'#{{id}} .laydate-day-now{color:{{theme}} !important;}',
'#{{id}} .laydate-day-now:after{border-color:{{theme}} !important;}',
'#{{id}} .laydate-day-now:after{border-color:{{theme}} !important;}'
].join('').replace(/{{id}}/g, that.elemID).replace(/{{theme}}/g, theme));
return;
}
@ -680,7 +680,7 @@
if(!isPrimaryColor && /^#/.test(theme)){
styleText.push([
'#{{id}} .laydate-selected>div{background-color:{{theme}} !important;}',
'#{{id}} .laydate-selected:hover>div{background-color:{{theme}} !important;}',
'#{{id}} .laydate-selected:hover>div{background-color:{{theme}} !important;}'
].join('').replace(/{{id}}/g, that.elemID).replace(/{{theme}}/g, theme));
}
});