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/vk/webview.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes/vk/webview.js') diff --git a/recipes/vk/webview.js b/recipes/vk/webview.js index 6756363..aac23c3 100644 --- a/recipes/vk/webview.js +++ b/recipes/vk/webview.js @@ -1,12 +1,12 @@ -module.exports = Ferdi => { +module.exports = Ferdium => { const getMessages = () => { let directs = 0; const element = document.querySelectorAll('.left_count'); if (element.length > 0) { - directs = Ferdi.safeParseInt(element[0].textContent); + directs = Ferdium.safeParseInt(element[0].textContent); } - Ferdi.setBadge(directs); + Ferdium.setBadge(directs); }; const getActiveDialogTitle = () => { @@ -17,7 +17,7 @@ module.exports = Ferdi => { document.querySelector('.im-page_history-show ._im_page_peer_name'), ].find(Boolean); - Ferdi.setDialogTitle(element ? element.textContent : null); + Ferdium.setDialogTitle(element ? element.textContent : null); }; const loopFunc = () => { @@ -25,5 +25,5 @@ module.exports = Ferdi => { getActiveDialogTitle(); }; - Ferdi.loop(loopFunc); + Ferdium.loop(loopFunc); }; -- cgit v1.2.3-54-g00ecf