Browse Source

Merge pull request #250 from dryabov/patch-3

Fix "Maximum call stack size exceeded" error
master
miguelfreitas 10 years ago
parent
commit
6c4ea6544a
  1. 7
      js/twister_following.js

7
js/twister_following.js

@ -590,8 +590,11 @@ function processSuggestion(arg, suggestion, followedBy) { @@ -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()

Loading…
Cancel
Save