diff --git a/app/static/js/app.js b/app/static/js/app.js index f33aca8..f81cdb2 100644 --- a/app/static/js/app.js +++ b/app/static/js/app.js @@ -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;