From 18801ed0c02627e87639dc0848cab44dacc18be2 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 18 Apr 2022 06:51:50 -0500 Subject: Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2) --- recipes/twitter-dm/webview.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'recipes/twitter-dm/webview.js') diff --git a/recipes/twitter-dm/webview.js b/recipes/twitter-dm/webview.js index dd6856a..e8f7dd1 100644 --- a/recipes/twitter-dm/webview.js +++ b/recipes/twitter-dm/webview.js @@ -1,13 +1,13 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { let count = 0; const elem = document.querySelector('a[href="/messages"] div div'); if (elem) { - count = Ferdi.safeParseInt(elem.textContent); + count = Ferdium.safeParseInt(elem.textContent); } - Ferdi.setBadge(count); + Ferdium.setBadge(count); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-70-g09d2