Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fcb2c4e

Browse files
authored
Improve activity control examples (prebid#4754)
1 parent 3c37719 commit fcb2c4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev-docs/activity-controls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pbjs.setConfig({
7373
},
7474
allow: true
7575
}]
76-
}`
76+
}
7777
}
7878
})
7979
```
@@ -264,7 +264,7 @@ pbjs.setConfig({
264264
default: false,
265265
rules: [{
266266
condition({syncUrl}) {
267-
return DOMAINLIST.find(domain => syncUrl.startsWith(domain))
267+
return DOMAINLIST.some(domain => syncUrl.startsWith(domain));
268268
},
269269
allow: true
270270
}]

0 commit comments

Comments
 (0)