Browse Source

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

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

8
js/interface_profile-edit.js

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

Loading…
Cancel
Save