From 7517a409a1a502c747eb4598492a88cec4e8d58c Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 19 Sep 2021 07:26:25 +0530 Subject: fix: fix js error; styling --- recipes/lark/webview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes/lark/webview.js') diff --git a/recipes/lark/webview.js b/recipes/lark/webview.js index 33d0fc9..4e3a614 100644 --- a/recipes/lark/webview.js +++ b/recipes/lark/webview.js @@ -3,7 +3,7 @@ const _path = _interopRequireDefault(require('path')); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } module.exports = (Ferdi) => { - const getMessages = function getMessages() { + const getMessages = () => { const ele = document.querySelectorAll('.larkc-badge-count.navbarMenu-badge'); if (!ele.length) { Ferdi.setBadge(0); -- cgit v1.2.3-70-g09d2