From 114cc7866e0ed9bf9f3a5a6f6adec883ba9a3c1e Mon Sep 17 00:00:00 2001 From: erqan Date: Tue, 13 May 2014 18:32:48 +0300 Subject: [PATCH] fixing undefined twisterFollowingO issue in guest mode --- js/twister_following.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/js/twister_following.js b/js/twister_following.js index 9bbc26a..fd01524 100644 --- a/js/twister_following.js +++ b/js/twister_following.js @@ -441,6 +441,9 @@ function fillWhoFollows(list, item, offset, size) { } function getWhoFollows(username, item) { + if (!defaultScreenName || typeof(defaultScreenName) === 'undefined') + return; + var list = whoFollows(username); fillWhoFollows(list, item, 0, (list.length > 5 ? 5 : list.length));