Skip to content
Snippets Groups Projects
Commit 8b4e136a authored by Arnaud Levy's avatar Arnaud Levy
Browse files

climate

parent 0c8a30d0
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ window.osuny.translation = {
translatedText;
xhr.open('POST', this.url, false);
xhr.setRequestHeader('Content-Type', 'application/json');
xhr.setRequestHeader("X-CSRF-Token", this.csrfToken);
xhr.setRequestHeader('X-CSRF-Token', this.csrfToken);
xhr.onreadystatechange = function () {
if (this.readyState === 4 && this.status === 200 && this.responseText !== '') {
data = JSON.parse(this.responseText);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment