Extend /languages to include targets

This commit is contained in:
Piero Toffanin 2022-12-09 16:36:12 -05:00
commit e79089b5c1
3 changed files with 10 additions and 13 deletions

View file

@ -141,7 +141,7 @@ document.addEventListener('DOMContentLoaded', function(){
isHtml: function(){
return htmlRegex.test(this.inputText);
},
canSendSuggestion() {
canSendSuggestion: function(){
return this.translatedText.trim() !== "" && this.translatedText !== this.savedTanslatedText;
}
},