bv-ui-core
Advanced tools
Comparing version 2.5.1 to 2.5.2
@@ -65,5 +65,10 @@ /** | ||
*/ | ||
function removeCookie (name) { | ||
function removeCookie (name, domain) { | ||
delete store[name]; | ||
createCookie(name, '', -1); | ||
if (domain) { | ||
createCookie(name, null, -1, domain); | ||
} | ||
else { | ||
createCookie(name, '', -1); | ||
} | ||
} | ||
@@ -84,3 +89,3 @@ | ||
cookieConsent.subscribe(name, 'disable', function () { | ||
removeCookie(name); | ||
removeCookie(name, domain); | ||
}); | ||
@@ -87,0 +92,0 @@ }, |
{ | ||
"name": "bv-ui-core", | ||
"version": "2.5.1", | ||
"version": "2.5.2", | ||
"license": "Apache 2.0", | ||
@@ -5,0 +5,0 @@ "description": "Bazaarvoice UI-related JavaScript", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
229677
5453