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/withspectrum/webview.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes/withspectrum/webview.js') diff --git a/recipes/withspectrum/webview.js b/recipes/withspectrum/webview.js index 0a3d9f3..d31d0a7 100644 --- a/recipes/withspectrum/webview.js +++ b/recipes/withspectrum/webview.js @@ -1,11 +1,11 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { const element = document.querySelector('[href="/notifications"] > div'); const content = window.getComputedStyle(element, ':after').getPropertyValue('content').match(/\d+/); const notifications = Number(content); - Ferdi.setBadge(notifications); + Ferdium.setBadge(notifications); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-54-g00ecf