Remove attribute from js script components.

This commit is contained in:
Alex Tselegidis 2022-01-18 10:43:40 +01:00
parent 49585d388d
commit c9fd813d0b
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
<script <?= vars('attributes') ?>> <script>
window.lang = (function () { window.lang = (function () {
const lang = <?= json_encode($this->lang->language) ?>; const lang = <?= json_encode($this->lang->language) ?>;

View file

@ -1,4 +1,4 @@
<script <?= vars('attributes') ?>> <script>
window.vars = (function () { window.vars = (function () {
const vars = <?= json_encode(script_vars()) ?>; const vars = <?= json_encode(script_vars()) ?>;