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. 14
      js/interface_profile-edit.js

14
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);
initMentionsCount(); verifyUserAlreadyInBlockchain();
initDMsCount(); initMentionsCount();
}); initDMsCount();
} });
$(".profile-card-main h2").text("@" + defaultScreenName); $(".profile-card-main h2").text("@" + defaultScreenName);
loadAvatarForEdit(); loadAvatarForEdit();

Loading…
Cancel
Save