diff options
Diffstat (limited to 'src/webview/dialogTitle.ts')
-rw-r--r-- | src/webview/dialogTitle.ts | 5 |
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 @@ | |||
1 | import { ipcRenderer } from 'electron'; | 1 | import { ipcRenderer } from 'electron'; |
2 | 2 | ||
3 | const 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 | ||
5 | export class DialogTitleHandler { | 6 | export 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; |