[225894] Ability to take over English translation with one click
diff --git a/html/js/translation.js b/html/js/translation.js
index 370e188..d3a5674 100644
--- a/html/js/translation.js
+++ b/html/js/translation.js
@@ -120,7 +120,8 @@
 function copyEnglishString() {
 	var stringsInFileTable = document.getElementById('strings-in-file-table');
 	var stringTableIndex = document.getElementById('translation-form').stringTableIndex.value;
-	var englishString = stringsInFileTable.rows[stringTableIndex].cells[0].textContent;
+	var td = stringsInFileTable.rows[stringTableIndex].cells[0];
+	var englishString = (td.innerText != undefined) ? td.innerText : td.textContent;
 	var currentTranslation = document.getElementById('current-translation');
 	currentTranslation.value = currentTranslation.value + englishString;
 }