From fe7af458bfcdaa06eb9b95ccd124c4ef269186ab Mon Sep 17 00:00:00 2001 From: tobitti Date: Sun, 24 Jul 2022 20:06:42 +0900 Subject: [PATCH] fix: added API comment size setting that forgot --- src/js/api.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/api.js b/src/js/api.js index c7f3a3bdc..5e8591413 100644 --- a/src/js/api.js +++ b/src/js/api.js @@ -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 { @@ -46,6 +47,7 @@ export default { color: '#ffeaea', author: '', text: '', + size: 'medium', }); } })