aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/recipe.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-08-17 11:08:51 +0530
committerLibravatar Vijay A <avijayr@protonmail.com>2021-08-17 11:08:51 +0530
commit51ace1cb985080a8d323b1db88dbcf4b9b5f24f6 (patch)
tree0b37fa704bd90e23f2bec805fba560391a7b2bd2 /src/webview/recipe.js
parentrefactor: Minor refactoring to handle NaN in 'setBadge' (diff)
downloadferdium-app-51ace1cb985080a8d323b1db88dbcf4b9b5f24f6.tar.gz
ferdium-app-51ace1cb985080a8d323b1db88dbcf4b9b5f24f6.tar.zst
ferdium-app-51ace1cb985080a8d323b1db88dbcf4b9b5f24f6.zip
refactor: pull in code-cleanup changes in the recipes submodule.
Diffstat (limited to 'src/webview/recipe.js')
-rw-r--r--src/webview/recipe.js2
1 files changed, 1 insertions, 1 deletions
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) => {
101contextBridge.exposeInMainWorld('ferdi', { 101contextBridge.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,