Skip to content

Commit 7935051

Browse files
committed
Added ;
1 parent bb1e316 commit 7935051

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

view/frontend/templates/js_code.phtml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ $script = '';
8888
}
8989
}
9090
return '';
91-
}
91+
};
9292
9393
function customerDataAllowed() {
9494
let cookie = getCookieValue(
@@ -101,8 +101,8 @@ $script = '';
101101
}
102102
}
103103
104-
return false
105-
}
104+
return false;
105+
};
106106
107107
function grantConsent()
108108
{
@@ -116,7 +116,7 @@ $script = '';
116116
'personalization_storage': 'granted',
117117
'security_storage': 'granted'
118118
});
119-
}
119+
};
120120
121121
if (customerDataAllowed()) {
122122
grantConsent();
@@ -128,7 +128,7 @@ $script = '';
128128
grantConsent();
129129
mfLoadGtm();
130130
}, 1000);
131-
}
131+
};
132132
})();
133133
"; ?>
134134
<?php } ?>
@@ -143,7 +143,7 @@ $script = '';
143143
144144
function getMfGtmCustomerIdentifier() {
145145
return localStorage.getItem('mf_gtm_customer_identifier') ? localStorage.getItem('mf_gtm_customer_identifier') : null;
146-
}
146+
};
147147
148148
function mfLoadGtm() {
149149
if (!window.mfGtmUserActionDetected) return false;
@@ -166,7 +166,7 @@ $script = '';
166166
<?php } ?>
167167
<?php } ?>
168168
<?php $script .= "
169-
}
169+
};
170170
"; ?>
171171
<?= /* @noEscape */ $mfSecureRenderer->renderTag('script', [], $script, false) ?>
172172

@@ -201,7 +201,7 @@ $script = '';
201201
return;
202202
}
203203
}
204-
}
204+
};
205205
window.addEventListener('private-content-loaded', mfHyvaGtmSetCustomerIdentifier);
206206
/* End Hyva code */
207207
"; ?>

0 commit comments

Comments
 (0)