diff --git a/simple-translate/popup/popup.js b/simple-translate/popup/popup.js index e29fb40..3708e59 100644 --- a/simple-translate/popup/popup.js +++ b/simple-translate/popup/popup.js @@ -119,7 +119,10 @@ function refleshSource() { } } -textarea.addEventListener("paste", resize); +textarea.addEventListener("paste", () => { + resize(); + inputText(); +}); textarea.addEventListener("keydown", resize);