Fix the parameter passed in PolyGerritIndexHtml

Variables should be wrapped in '{}'

Change-Id: I179e49160c3f466d18728f3e6d6a0d1b5719db3b
This commit is contained in:
Tao Zhou
2020-04-06 10:27:40 +02:00
parent 8fba168192
commit b87eefe63b

View File

@@ -75,7 +75,7 @@
{if $enabledExperiments}
// ENABLED_EXPERIMENTS is a list of string that contains all enabled experiments
// for the given user.
window.ENABLED_EXPERIMENTS = JSON.parse($enabledExperiments);
window.ENABLED_EXPERIMENTS = JSON.parse({$enabledExperiments});
{/if}
</script>{\n}