Skip to content

Commit 27e60ef

Browse files
committed
Fix JS error, DEV-1111
1 parent d5334ce commit 27e60ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

view/frontend/templates/iframe-handler.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $scriptString = '
4949
5050
// Setup consent message and button
5151
divElement.classList.add(`cookieconsent-optout-${consentType}`);
52-
const consentMessage = "' . $consentMessage . '";
52+
const consentMessage = `' . $consentMessage . '`;
5353
const message = consentMessage
5454
.replace("%1", consentType)
5555
.replace("%2", serviceProvider);

0 commit comments

Comments
 (0)