From e929a33351bc864b423d1dfb6f4917ae773abcd1 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sat, 29 Oct 2022 18:11:25 +0800 Subject: [PATCH] default avatar --- source/js/plugins/fcircle.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/source/js/plugins/fcircle.js b/source/js/plugins/fcircle.js index 00e7249..f686e72 100644 --- a/source/js/plugins/fcircle.js +++ b/source/js/plugins/fcircle.js @@ -56,7 +56,7 @@ const FCircle = { var cell = '
'; cell += '
'; cell += ''; cell += '

' + item.updated + '

'; @@ -83,9 +83,10 @@ $(function () { if (api == null) { continue; } - var obj = new Object(); - obj.el = el; - obj.api = api; - FCircle.layoutDiv(obj); + var cfg = new Object(); + cfg.el = el; + cfg.api = api; + cfg.avatar = 'https://fastly.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/avatar/round/3442075.svg'; + FCircle.layoutDiv(cfg); } });