Skip to content

Commit

Permalink
Merge pull request #11 from tobitti0/fix-forget-comment-size-api
Browse files Browse the repository at this point in the history
fix: added API comment size setting that forgot
  • Loading branch information
tsukumijima authored Jul 26, 2022
2 parents 098dbc4 + fe7af45 commit ef306eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/js/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default {
color: item[2],
author: item[3],
text: item[4],
size: (item[5] ? (((item[5] === 'big') || (item[5] === 'small')) ? item[5] : 'medium') : 'medium'),
}))
);
} else {
Expand All @@ -46,6 +47,7 @@ export default {
color: '#ffeaea',
author: '',
text: '',
size: 'medium',
});
}
})
Expand Down

0 comments on commit ef306eb

Please sign in to comment.