Make plausible detection actually robust
This commit is contained in:
parent
44a91638d2
commit
2e61f226b0
@ -1,6 +1,6 @@
|
||||
// Some ad-blockers block the plausible script from loading. Check if `plausible`
|
||||
// is defined before calling it.
|
||||
export function tryPlausible(msg) {
|
||||
if (plausible)
|
||||
if (self.plausible)
|
||||
plausible(msg)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user