Skip to content

Commit

Permalink
Improve googlesyndication_adsbygoogle.js scriptlet
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Oct 30, 2024
1 parent a793d69 commit f645e8f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@
const cfr = document.createElement('iframe');
cfr.id = `google_ads_frame${i}`;
fr.appendChild(cfr);
phs[i].appendChild(fr);
const ph = phs[i];
ph.appendChild(fr);
ph.setAttribute('data-adsbygoogle-status', 'done');
}
};
if (
Expand Down

0 comments on commit f645e8f

Please sign in to comment.