...
|
...
|
@@ -28,7 +28,7 @@ function cookie(name) { |
|
|
|
|
|
if (cookies) {
|
|
|
cookies = cookies.split(';');
|
|
|
cookies instanceof Array && cookies.forEach(function(c) {
|
|
|
cookies.forEach && cookies.forEach(function(c) {
|
|
|
if (c.indexOf(name) > -1) {
|
|
|
cookieVal = decodeURIComponent($.trim(c.replace(name + '=', '')));
|
|
|
return;
|
...
|
...
|
|