Skip to content
Snippets Groups Projects
Commit acac3fbd authored by Loredan Szocs's avatar Loredan Szocs Committed by Joao Ventura
Browse files

Issue #3239607 by szloredan, jcnventura: Klaro not working on IE11

parent 95bc72f8
Branches
Tags
No related merge requests found
......@@ -10,7 +10,7 @@
if (drupalSettings.klaroConfig.services !== undefined) {
drupalSettings.klaroConfig.services.forEach(function(value, index) {
if (drupalSettings.klaroConfig.services[index].callback !== undefined) {
drupalSettings.klaroConfig.services[index].callback = new Function(`return ${drupalSettings.klaroConfig.services[index].callback}`)();
drupalSettings.klaroConfig.services[index].callback = new Function("return " + drupalSettings.klaroConfig.services[index].callback)();
}
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment