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/tweetdeck/webview.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes/tweetdeck/webview.js') diff --git a/recipes/tweetdeck/webview.js b/recipes/tweetdeck/webview.js index 7f99509..7e2a067 100644 --- a/recipes/tweetdeck/webview.js +++ b/recipes/tweetdeck/webview.js @@ -1,6 +1,6 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { // Tweetdeck redirect fix - Ferdi.ipcRenderer.on('redirect-url', (event, url) => { + Ferdium.ipcRenderer.on('redirect-url', (event, url) => { window.location.assign(url); }); @@ -8,11 +8,11 @@ module.exports = Ferdi => { const elements = document.querySelectorAll('.msg-unread-count'); let count = 0; if (elements[0]) { - count = Ferdi.safeParseInt(elements[0].textContent); + count = Ferdium.safeParseInt(elements[0].textContent); } - Ferdi.setBadge(count); + Ferdium.setBadge(count); }; - Ferdi.loop(getMessages); + Ferdium.loop(getMessages); }; -- cgit v1.2.3-70-g09d2