* fix #667

* fix travis errors
This commit is contained in:
linvinus 2017-11-22 15:35:58 +03:00 committed by Andrey
parent 3a100bff23
commit db630677a4

View File

@ -74,7 +74,7 @@ window.getTranslation = function (translationInput) {
// Create a promise to fetch translation from the server // Create a promise to fetch translation from the server
if (!translations[translationFingerprint]) { if (!translations[translationFingerprint]) {
translations[translationFingerprint] = translations[translationFingerprint] =
fetch(`/static/translations/${translationFingerprint}`) fetch(`/static/translations/${translationFingerprint}`, { credentials: 'include' })
.then(response => response.json()).then(data => ({ .then(response => response.json()).then(data => ({
language: translation, language: translation,
resources: { resources: {