diff options
author | 2021-07-31 15:28:23 +0530 | |
---|---|---|
committer | 2021-07-31 15:28:23 +0530 | |
commit | 97697e3d069972844b2912a93022f4a4904a40d6 (patch) | |
tree | 53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/pulsesms/webview.js | |
parent | Allow any url in the custom-service to allow for sites like 'http://translate... (diff) | |
download | ferdium-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/pulsesms/webview.js')
-rw-r--r-- | recipes/pulsesms/webview.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/pulsesms/webview.js b/recipes/pulsesms/webview.js index a4c7f43..2e6b46d 100644 --- a/recipes/pulsesms/webview.js +++ b/recipes/pulsesms/webview.js | |||
@@ -1,6 +1,6 @@ | |||
1 | module.exports = (Franz) => { | 1 | module.exports = (Franz) => { |
2 | function getMessages() { | 2 | function getMessages() { |
3 | Franz.setBadge(document.querySelector("#unread_count").innerHTML.replace(/\s/g,'')); | 3 | Franz.setBadge(document.querySelector('#unread_count').innerHTML.replace(/\s/g, '')); |
4 | } | 4 | } |
5 | 5 | ||
6 | // check for new messages every second and update Franz badge | 6 | // check for new messages every second and update Franz badge |