mirror of https://github.com/layui/layui
删除不必要的逗号
parent
09f3c2c9fc
commit
b4b25c4a52
|
@ -672,7 +672,7 @@
|
||||||
'#{{id}} li.layui-this,#{{id}} td.layui-this>div{background-color:{{theme}} !important;}',
|
'#{{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;}',
|
options.theme.indexOf('circle') !== -1 ? '' : '#{{id}} .layui-this{background-color:{{theme}} !important;}',
|
||||||
'#{{id}} .laydate-day-now{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));
|
].join('').replace(/{{id}}/g, that.elemID).replace(/{{theme}}/g, theme));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -680,7 +680,7 @@
|
||||||
if(!isPrimaryColor && /^#/.test(theme)){
|
if(!isPrimaryColor && /^#/.test(theme)){
|
||||||
styleText.push([
|
styleText.push([
|
||||||
'#{{id}} .laydate-selected>div{background-color:{{theme}} !important;}',
|
'#{{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));
|
].join('').replace(/{{id}}/g, that.elemID).replace(/{{theme}}/g, theme));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue