mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
storage utility now returns empty string vs empty object
This commit is contained in:
parent
2402d2c3b6
commit
d34a6a1a74
@ -125,7 +125,7 @@ ts.storage = function(table, key, value, options) {
|
||||
document.cookie = key + '=' + (JSON.stringify(values)).replace(/\"/g,'\"') + '; expires=' + date.toGMTString() + '; path=/';
|
||||
}
|
||||
} else {
|
||||
return values && values[url] ? values[url][id] : {};
|
||||
return values && values[url] ? values[url][id] : '';
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user