We can't use let in js files as we still supporting old devices with es5 only

This commit is contained in:
Hadi Nategh
2020-09-17 15:36:02 +02:00
parent 6f38d53715
commit c01beef108
2 changed files with 3 additions and 3 deletions

View File

@ -218,7 +218,7 @@
}
// set grants if given for push
let egw_grants = egw_script.getAttribute('data-grants');
var egw_grants = egw_script.getAttribute('data-grants');
if (egw_grants)
{
egw.set_grants(JSON.parse(egw_grants));