Browse Source

setup twisterFollowingO before calling of verifyUserAlreadyInBlockchain because following twister requires updating of it

master
Simon Grim 9 years ago
parent
commit
058e24ba6a
  1. 14
      js/interface_profile-edit.js

14
js/interface_profile-edit.js

@ -26,14 +26,14 @@ function initProfileEdit() { @@ -26,14 +26,14 @@ function initProfileEdit() {
$.MAL.goLogin();
return;
}
checkNetworkStatusAndAskRedirect(verifyUserAlreadyInBlockchain);
checkNetworkStatusAndAskRedirect();
if( defaultScreenName ) {
loadFollowing( function() {
initMentionsCount();
initDMsCount();
});
}
loadFollowing(function() {
twisterFollowingO = TwisterFollowing(defaultScreenName);
verifyUserAlreadyInBlockchain();
initMentionsCount();
initDMsCount();
});
$(".profile-card-main h2").text("@" + defaultScreenName);
loadAvatarForEdit();

Loading…
Cancel
Save