aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/pivotal-tracker/webview.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-07-31 15:28:23 +0530
commit97697e3d069972844b2912a93022f4a4904a40d6 (patch)
tree53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/pivotal-tracker/webview.js
parentAllow any url in the custom-service to allow for sites like 'http://translate... (diff)
downloadferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.gz
ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.zst
ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.zip
Fixed eslintrc as root for this folder; Reformatted all files.
Diffstat (limited to 'recipes/pivotal-tracker/webview.js')
-rw-r--r--recipes/pivotal-tracker/webview.js14
1 files changed, 6 insertions, 8 deletions
diff --git a/recipes/pivotal-tracker/webview.js b/recipes/pivotal-tracker/webview.js
index a550492..1908a36 100644
--- a/recipes/pivotal-tracker/webview.js
+++ b/recipes/pivotal-tracker/webview.js
@@ -1,13 +1,11 @@
1module.exports = (Franz, options) => { 1module.exports = (Franz, options) => {
2 function getMessages() {
3 const bell = document.querySelectorAll('#view65 > span')[0];
2 4
3 function getMessages() { 5 counter = parseInt(bell.innerText);
4 var bell = document.querySelectorAll("#view65 > span")[0];
5 6
6 counter = parseInt(bell.innerText); 7 Franz.setBadge(counter);
7 8 }
8 Franz.setBadge(counter);
9 };
10 9
11 Franz.loop(getMessages); 10 Franz.loop(getMessages);
12 11};
13}