Say something on startup

This commit is contained in:
Piero Toffanin 2022-06-21 16:56:48 -04:00
parent 78d2bc7be4
commit 79b9af9071
2 changed files with 6 additions and 2 deletions

View file

@ -168,7 +168,8 @@ document.addEventListener('DOMContentLoaded', function(){
' q: ' + this.$options.filters.escape(this.inputText) + ',',
' source: ' + this.$options.filters.escape(this.sourceLang) + ',',
' target: ' + this.$options.filters.escape(this.targetLang) + ',',
' format: "' + (this.isHtml ? "html" : "text") + '"',
' format: "' + (this.isHtml ? "html" : "text") + '",',
' api_key: "' + (localStorage.getItem("api_key") || "") + '"',
' }),',
' headers: { "Content-Type": "application/json" }',
'});',