diff options
author | Vijay A <avijayr@protonmail.com> | 2021-08-17 11:08:51 +0530 |
---|---|---|
committer | Vijay A <avijayr@protonmail.com> | 2021-08-17 11:08:51 +0530 |
commit | 51ace1cb985080a8d323b1db88dbcf4b9b5f24f6 (patch) | |
tree | 0b37fa704bd90e23f2bec805fba560391a7b2bd2 | |
parent | refactor: Minor refactoring to handle NaN in 'setBadge' (diff) | |
download | ferdium-app-51ace1cb985080a8d323b1db88dbcf4b9b5f24f6.tar.gz ferdium-app-51ace1cb985080a8d323b1db88dbcf4b9b5f24f6.tar.zst ferdium-app-51ace1cb985080a8d323b1db88dbcf4b9b5f24f6.zip |
refactor: pull in code-cleanup changes in the recipes submodule.
m--------- | recipes | 0 | ||||
-rw-r--r-- | src/webview/recipe.js | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/recipes b/recipes | |||
Subproject cf8156d5fdf47e90458ee182b58879d184777d9 | Subproject 212d5846427ceeacfadf5aac3f381b532f4664a | ||
diff --git a/src/webview/recipe.js b/src/webview/recipe.js index a45c34002..f88b94cfe 100644 --- a/src/webview/recipe.js +++ b/src/webview/recipe.js | |||
@@ -101,7 +101,7 @@ window.open = (url, frameName, features) => { | |||
101 | contextBridge.exposeInMainWorld('ferdi', { | 101 | contextBridge.exposeInMainWorld('ferdi', { |
102 | open: window.open, | 102 | open: window.open, |
103 | setBadge: (direct, indirect) => | 103 | setBadge: (direct, indirect) => |
104 | badgeHandler.setBadge(direct || 0, indirect || 0), | 104 | badgeHandler.setBadge(direct, indirect), |
105 | displayNotification: (title, options) => | 105 | displayNotification: (title, options) => |
106 | notificationsHandler.displayNotification(title, options), | 106 | notificationsHandler.displayNotification(title, options), |
107 | getDisplayMediaSelector, | 107 | getDisplayMediaSelector, |