Skip to content
Permalink
Browse files

parseXML first, so the server content-type doesn't matter

  • Loading branch information...
LadyCailin committed Sep 11, 2019
1 parent a0527fb commit 69497b374c4dcee76a5d07932585bd63fa99b495
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/resources/siteDeploy/index.js
@@ -398,7 +398,7 @@
let pageTranslations = productionTranslations + "/" + lang + "/"
+ window.location.pathname.replace(/\.html$/, ".tmem.xml");
$.get(pageTranslations, function(data) {
$data = $(data);
$data = $($.parseXML(data));
$blocks = $data.find("translationBlock");
let t = [];
for(var i = 0; i < $blocks.length; ++i) {

0 comments on commit 69497b3

Please sign in to comment.
You can’t perform that action at this time.