LoginAction somewhat converted to FormAction

This commit is contained in:
Mikael Nordfeldth
2013-10-30 12:21:34 +01:00
parent f7c6dd4f6e
commit 8dafce34c3
5 changed files with 67 additions and 104 deletions

View File

@@ -1331,7 +1331,7 @@ var SN = { // StatusNet
*/
Get: function () {
var cookieValue = $.cookie(SN.C.S.StatusNetInstance);
if (cookieValue !== null) {
if (cookieValue !== undefined) {
return JSON.parse(cookieValue);
}
return null;