Skip to content

Commit

Permalink
fix #11
Browse files Browse the repository at this point in the history
  • Loading branch information
kumakichi committed Sep 27, 2023
1 parent 71b8e51 commit a63c0ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"webpack": "^4.46.0"
},
"name": "Deepl-Linux-Electron",
"version": "1.1.1",
"version": "1.2.0",
"scripts": {
"dev": "electron-webpack dev",
"compile": "electron-webpack",
Expand Down
3 changes: 2 additions & 1 deletion static/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ const inputValue = (dom, st) => {
}

ipcRenderer.on('translateClipboard', function() {
inputValue(document.querySelector('.lmt__source_textarea'), clipboard.readText());
inputValue(document.querySelector('d-textarea'), clipboard.readText());

});

window.addEventListener('load', (event) => {
Expand Down

0 comments on commit a63c0ac

Please sign in to comment.