mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2025-02-10 18:30:54 +02:00
Focus textarea after delete text
This commit is contained in:
parent
a2bea5e300
commit
5b45b9a53b
@ -352,6 +352,7 @@ document.addEventListener('DOMContentLoaded', function(){
|
||||
deleteText: function(e){
|
||||
e.preventDefault();
|
||||
this.inputText = this.translatedText = this.output = "";
|
||||
this.$refs.inputTextarea.focus();
|
||||
},
|
||||
switchType: function(type) {
|
||||
this.translationType = type;
|
||||
|
Loading…
x
Reference in New Issue
Block a user