diff options
author | 2017-12-14 15:58:46 +0100 | |
---|---|---|
committer | 2017-12-14 15:58:46 +0100 | |
commit | 413bf160f1922eb56a3ea84eb1e13b04f2628662 (patch) | |
tree | cfe77ec858dd97d5d1f85ebecf90e7a38b90c68a /src/webview/ime.js | |
parent | remove unecessary console logs (diff) | |
download | ferdium-app-413bf160f1922eb56a3ea84eb1e13b04f2628662.tar.gz ferdium-app-413bf160f1922eb56a3ea84eb1e13b04f2628662.tar.zst ferdium-app-413bf160f1922eb56a3ea84eb1e13b04f2628662.zip |
Remove IME handlers
Diffstat (limited to 'src/webview/ime.js')
-rw-r--r-- | src/webview/ime.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/webview/ime.js b/src/webview/ime.js deleted file mode 100644 index 43df6267c..000000000 --- a/src/webview/ime.js +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | const { ipcRenderer } = require('electron'); | ||
2 | const { claimDocumentFocus } = require('../helpers/webview-ime-focus-helpers'); | ||
3 | |||
4 | ipcRenderer.on('claim-document-focus', claimDocumentFocus); | ||
5 | |||
6 | window.addEventListener('DOMContentLoaded', () => { | ||
7 | if (document.querySelector('[autofocus]')) { | ||
8 | ipcRenderer.sendToHost('autofocus'); | ||
9 | } | ||
10 | }); | ||