Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

ammended

  • Loading branch information...
commit 0440118ab9ff1ceb5e3c059a37cb6477b5bf1aa3 1 parent 27c36c9
Fabian Schuetz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/view/lang/show.html
View
2  src/view/lang/show.html
@@ -27,7 +27,7 @@
var span_id = span.id;
var textbox = document.getElementById("trans_"+span_id);
if (textbox && textbox.value == "" && span.firstChild.value != undefined) {
- google.language.translate(span.firstChild.value, "{{ original_lang|default_if_none:undefined }}", "{{ this_lang|default_if_none:undefined }}", function(result) {
+ google.language.translate(span.firstChild.value, "{{ original_lang|default_if_none:"" }}", "{{ this_lang|default_if_none:"" }}", function(result) {
if (!result.error) {
if (result.translation) {
textbox.value = result.translation;
Please sign in to comment.
Something went wrong with that request. Please try again.