Skip to content
Browse files

bugfix (autodetect user github)

  • Loading branch information...
1 parent f9f50cb commit c4120ca5635fe122f4c5bc589aa6cf428619cbd3 @blaines committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 client.js
View
2 client.js
@@ -97,7 +97,7 @@ autodetectUser = function() {
nick = $("#user-bar li:nth-child(3) a").text();
}
} else if (_a === "github.com") {
- nick = $(".name").text();
+ nick = $(".name").first().text();
}
if (nick) {
jQuery("#nickInput").attr("value", nick);

0 comments on commit c4120ca

Please sign in to comment.
Something went wrong with that request. Please try again.