Pad_cookie.js to have isCookiesEnabled() cause wasNoCookie() is also true when User visits first time.

This commit is contained in:
Mikk Andresen 2017-05-05 11:17:07 +03:00
parent 582e2c3819
commit c959cdbaa7
2 changed files with 4 additions and 1 deletions

View file

@ -124,6 +124,9 @@ var padcookie = (function()
{
return wasNoCookie;
},
isCookiesEnabled: function() {
return !!getRawCookie();
},
getPref: function(prefName)
{
return cookieData[prefName];