Skip to content

Commit

Permalink
css: support for profile class in SO new design
Browse files Browse the repository at this point in the history
close #2
  • Loading branch information
jossef authored Feb 16, 2017
1 parent 81a4f34 commit c4e7ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/content-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ var isDisabled = !options.enableSortByMyUpvotes &&
var downVoted = [];
var all = jQuery('.answer').toArray();

var loggedUserProfileLink = jQuery('.profile-me').attr('href');
var loggedUserProfileLink = jQuery('.my-profile,.profile-me').slice(0,1).attr('href');

all.forEach(function(answer, position) {
answer = jQuery(answer);
Expand Down

0 comments on commit c4e7ef9

Please sign in to comment.