Remove attribute from js script components.
This commit is contained in:
parent
49585d388d
commit
c9fd813d0b
2 changed files with 2 additions and 2 deletions
|
@ -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) ?>;
|
||||||
|
|
||||||
|
|
|
@ -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()) ?>;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue