diff options
Diffstat (limited to 'recipes/pulsesms')
-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 |