mirror of
https://gitea.com/Lydanne/issues-helper.git
synced 2025-08-20 02:35:58 +08:00
style: perf show
This commit is contained in:
@@ -82,13 +82,13 @@ function getImg(o) {
|
||||
}
|
||||
|
||||
function getImgWidth(o) {
|
||||
if(o) {
|
||||
if (o) {
|
||||
let width = o.width;
|
||||
if (width === 'auto') {
|
||||
width = ''
|
||||
width = '';
|
||||
} else {
|
||||
width = width ? width : DEFAULT_WIDTH;
|
||||
};
|
||||
}
|
||||
return ` width="${width}"`;
|
||||
}
|
||||
return '';
|
||||
|
Reference in New Issue
Block a user