mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-29 19:35:20 +02:00
fix: biome errs
This commit is contained in:
parent
94e834134f
commit
c601a9b102
1 changed files with 2 additions and 1 deletions
|
|
@ -52,7 +52,8 @@ export function AdUnit({
|
||||||
// sets data-adsbygoogle-status="done" once it has filled a slot.
|
// sets data-adsbygoogle-status="done" once it has filled a slot.
|
||||||
if (el.getAttribute("data-adsbygoogle-status")) return;
|
if (el.getAttribute("data-adsbygoogle-status")) return;
|
||||||
try {
|
try {
|
||||||
(window.adsbygoogle = window.adsbygoogle || []).push({});
|
window.adsbygoogle = window.adsbygoogle || [];
|
||||||
|
window.adsbygoogle.push({});
|
||||||
} catch {
|
} catch {
|
||||||
// AdSense throws if pushed before the script has loaded or on
|
// AdSense throws if pushed before the script has loaded or on
|
||||||
// duplicate pushes. The script processes pending pushes when it
|
// duplicate pushes. The script processes pending pushes when it
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue