Update tarteaucitron.lang with the custom text given
This commit is contained in:
parent
b1cae8da4f
commit
1d97b3fa95
|
|
@ -223,6 +223,10 @@ var tarteaucitron = {
|
||||||
|
|
||||||
// Step 2: load language and services
|
// Step 2: load language and services
|
||||||
tarteaucitron.addScript(pathToLang, '', function () {
|
tarteaucitron.addScript(pathToLang, '', function () {
|
||||||
|
|
||||||
|
if(tarteaucitronCustomText !== undefined){
|
||||||
|
tarteaucitron.lang = AddOrUpdate(tarteaucitron.lang, tarteaucitronCustomText);
|
||||||
|
}
|
||||||
tarteaucitron.addScript(pathToServices, '', function () {
|
tarteaucitron.addScript(pathToServices, '', function () {
|
||||||
|
|
||||||
var body = document.body,
|
var body = document.body,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue