aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/lib/RecipeWebview.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview/lib/RecipeWebview.js')
-rw-r--r--src/webview/lib/RecipeWebview.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/webview/lib/RecipeWebview.js b/src/webview/lib/RecipeWebview.js
index 1787f85e2..b8acc1258 100644
--- a/src/webview/lib/RecipeWebview.js
+++ b/src/webview/lib/RecipeWebview.js
@@ -64,6 +64,12 @@ class RecipeWebview {
64 }); 64 });
65 } 65 }
66 66
67 onNotify(fn) {
68 if (typeof fn === 'function') {
69 window.Notification.onNotify = fn;
70 }
71 }
72
67 initialize(fn) { 73 initialize(fn) {
68 if (typeof fn === 'function') { 74 if (typeof fn === 'function') {
69 fn(); 75 fn();