Translate text when pasted into popup

This commit is contained in:
sienori 2019-02-07 02:24:00 +09:00
parent 670b149d13
commit ce73c60e2f

View file

@ -119,7 +119,10 @@ function refleshSource() {
}
}
textarea.addEventListener("paste", resize);
textarea.addEventListener("paste", () => {
resize();
inputText();
});
textarea.addEventListener("keydown", resize);