Fix language selection in sandboxed iframes

This commit is contained in:
yflory
2017-09-18 14:26:54 +02:00
parent 0a656ca8d6
commit 1131ef0172
10 changed files with 25 additions and 6 deletions

View File

@@ -42,6 +42,7 @@ var afterLoaded = function (req) {
updated: updated,
cache: data.cache
};
window.cryptpadLanguage = data.language;
require(['/common/sframe-boot2.js'], function () { });
};
window.addEventListener('message', onReply);