aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/notifications.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview/notifications.ts')
-rw-r--r--src/webview/notifications.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/webview/notifications.ts b/src/webview/notifications.ts
index aa88f13a2..e4401ab6e 100644
--- a/src/webview/notifications.ts
+++ b/src/webview/notifications.ts
@@ -37,7 +37,7 @@ export const notificationsClassDefinition = `(() => {
37 constructor(title = '', options = {}) { 37 constructor(title = '', options = {}) {
38 this.title = title; 38 this.title = title;
39 this.options = options; 39 this.options = options;
40 try{ 40 try {
41 window.ferdium.displayNotification(title, options) 41 window.ferdium.displayNotification(title, options)
42 .then(() => { 42 .then(() => {
43 if (typeof (this.onClick) === 'function') { 43 if (typeof (this.onClick) === 'function') {
@@ -51,7 +51,7 @@ export const notificationsClassDefinition = `(() => {
51 if (typeof (this.onClick) === 'function') { 51 if (typeof (this.onClick) === 'function') {
52 this.onClick(); 52 this.onClick();
53 } 53 }
54 }); 54 });
55 } 55 }
56 } 56 }
57 57