aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/pulsesms/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/pulsesms/webview.js')
-rw-r--r--recipes/pulsesms/webview.js2
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 @@
1module.exports = (Franz) => { 1module.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