Skip to content

Commit

Permalink
checking usConfig.enableOverride value before returning (prebid#3542)
Browse files Browse the repository at this point in the history
  • Loading branch information
pm-harshad-mane authored and jacekburys-quantcast committed May 15, 2019
1 parent 0cb1565 commit c5ef049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/userSync.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function newUserSync(userSyncDependencies) {
* @private
*/
function fireSyncs() {
if (!usConfig.syncEnabled || !userSyncDependencies.browserSupportsCookies || hasFired) {
if (!usConfig.syncEnabled || !userSyncDependencies.browserSupportsCookies || (!usConfig.enableOverride && hasFired)) {
return;
}

Expand Down

0 comments on commit c5ef049

Please sign in to comment.