Translate text when pasted into popup
This commit is contained in:
parent
670b149d13
commit
ce73c60e2f
|
@ -119,7 +119,10 @@ function refleshSource() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea.addEventListener("paste", resize);
|
textarea.addEventListener("paste", () => {
|
||||||
|
resize();
|
||||||
|
inputText();
|
||||||
|
});
|
||||||
|
|
||||||
textarea.addEventListener("keydown", resize);
|
textarea.addEventListener("keydown", resize);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue