aboutsummaryrefslogtreecommitdiffstats
path: root/src/webview/dialogTitle.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/webview/dialogTitle.ts')
-rw-r--r--src/webview/dialogTitle.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/webview/dialogTitle.ts b/src/webview/dialogTitle.ts
index 393c2499f..a5bcb4c41 100644
--- a/src/webview/dialogTitle.ts
+++ b/src/webview/dialogTitle.ts
@@ -1,6 +1,7 @@
1import { ipcRenderer } from 'electron'; 1import { ipcRenderer } from 'electron';
2 2
3const debug = require('debug')('Ferdium:Plugin:DialogTitleHandler'); 3// TODO: Go back to 'debug' from 'console.log' when https://github.com/electron/electron/issues/31689 is fixed
4// const debug = require('debug')('Ferdium:Plugin:DialogTitleHandler');
4 5
5export class DialogTitleHandler { 6export class DialogTitleHandler {
6 titleCache: { title: string }; 7 titleCache: { title: string };
@@ -25,7 +26,7 @@ export class DialogTitleHandler {
25 return; 26 return;
26 } 27 }
27 28
28 debug('Sending active dialog title to host %s', newTitle); 29 console.log('Sending active dialog title to host %s', newTitle);
29 ipcRenderer.sendToHost('active-dialog-title', newTitle); 30 ipcRenderer.sendToHost('active-dialog-title', newTitle);
30 31
31 this.titleCache.title = newTitle; 32 this.titleCache.title = newTitle;