Merge pull request #250 from dryabov/patch-3

Fix "Maximum call stack size exceeded" error
This commit is contained in:
miguelfreitas 2015-04-24 16:13:33 -03:00
commit 6c4ea6544a

View File

@ -590,8 +590,11 @@ function processSuggestion(arg, suggestion, followedBy) {
$list.append(item).show();
$module.find('.refresh-users').show();
$module.find('.loading-roller').hide();
} else
getRandomFollowSuggestion(processSuggestion);
} else {
setTimeout(function(){
getRandomFollowSuggestion(processSuggestion);
}, 100);
}
}
function closeSearchDialog()