Skip to content

Commit

Permalink
Fix broken syntax for opt-out (#22210)
Browse files Browse the repository at this point in the history
  • Loading branch information
caddoo authored May 13, 2024
1 parent f25664c commit 65c28fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/CoreAdminHome/OptOutManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ function showContent(consent, errorMessage = null, useTracker = false) {
var div = document.getElementById(settings.divId);
if (!div) {
public const warningDiv = document.createElement("div");
const warningDiv = document.createElement("div");
var msg = 'Unable to find opt-out content div: "'+settings.divId+'"';
warningDiv.id = settings.divId+'-warning';
warningDiv.innerHTML = errorBlock+msg+'</p>';
Expand Down

0 comments on commit 65c28fd

Please sign in to comment.