mirror of
https://gitee.com/layui/layui.git
synced 2025-04-05 17:38:02 +08:00
删除不必要的逗号
This commit is contained in:
parent
09f3c2c9fc
commit
b4b25c4a52
@ -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));
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user