Skip to content

Commit

Permalink
Make mod_cookie_consent selector slightly more general (PR #3308)
Browse files Browse the repository at this point in the history
  • Loading branch information
mworrell committed Feb 28, 2023
1 parent b0ff3b9 commit 5045231
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
break;
default:
// Replace with stored content
const $consented = $elt.find('script[type="text/x-cookie-consented"]');
const $consented = $elt.find('[type="text/x-cookie-consented"]');
if ($consented.length > 0) {
let $replace = $(html_unescape($consented.text()));
$elt.replaceWith($replace);
Expand Down

0 comments on commit 5045231

Please sign in to comment.