mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-07-07 10:14:29 -04:00
commit
ea3979ab0c
@ -92,6 +92,8 @@ document.addEventListener('DOMContentLoaded', function(){
|
||||
M.FormSelect.init(this.$refs.targetLangDropdown);
|
||||
|
||||
if (this.$refs.inputTextarea){
|
||||
this.$refs.inputTextarea.focus()
|
||||
|
||||
if (this.inputText === ""){
|
||||
this.$refs.inputTextarea.style.height = this.inputTextareaHeight + "px";
|
||||
this.$refs.translatedTextarea.style.height = this.inputTextareaHeight + "px";
|
||||
|
Loading…
x
Reference in New Issue
Block a user