diff options
author | vantezzen <hello@vantezzen.io> | 2020-03-08 10:23:32 +0100 |
---|---|---|
committer | vantezzen <hello@vantezzen.io> | 2020-03-08 10:23:32 +0100 |
commit | bc41498c61867ebe7ce00a0cb6fa82e74627bfd1 (patch) | |
tree | 0ccf4b6a0d46bc85b2f728c29b8498578304dec3 /uncompressed/pulseSMS/webview.js | |
parent | Revert debug changes (diff) | |
download | ferdium-recipes-bc41498c61867ebe7ce00a0cb6fa82e74627bfd1.tar.gz ferdium-recipes-bc41498c61867ebe7ce00a0cb6fa82e74627bfd1.tar.zst ferdium-recipes-bc41498c61867ebe7ce00a0cb6fa82e74627bfd1.zip |
Fix differences in recipes
Diffstat (limited to 'uncompressed/pulseSMS/webview.js')
-rw-r--r-- | uncompressed/pulseSMS/webview.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/uncompressed/pulseSMS/webview.js b/uncompressed/pulseSMS/webview.js deleted file mode 100644 index a4c7f43..0000000 --- a/uncompressed/pulseSMS/webview.js +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | module.exports = (Franz) => { | ||
2 | function getMessages() { | ||
3 | Franz.setBadge(document.querySelector("#unread_count").innerHTML.replace(/\s/g,'')); | ||
4 | } | ||
5 | |||
6 | // check for new messages every second and update Franz badge | ||
7 | Franz.loop(getMessages); | ||
8 | }; | ||