Permalink
Browse files

Update StackExchange/accountstab.user.js

  • Loading branch information...
1 parent c2e81b7 commit 5d08a9054baf701d2b0bd302e25eecb8b578cdf2 @Manishearth committed May 4, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 StackExchange/accountstab.user.js
@@ -21,7 +21,8 @@ function with_jquery(f) {
with_jquery(function($){
-if($('.user-panel-footer a[alt="full list of accounts"]').length!=0){
-$("<a href='"+$('.user-panel-footer a[alt="full list of accounts"]')[0].href+"'>Accounts</??a>").insertAfter($("#tabs a:last"))
+ var SENetworkProfile= $('img[alt="stack exchange network profile"]')
+if(SENetworkProfile.length!=0){
+$("<a href='"+SENetworkProfile.parent().attr('href')+'?tab=accounts'+"'>accounts</??a>").insertAfter($("#tabs a:last"))
}
});

0 comments on commit 5d08a90

Please sign in to comment.