Permalink
Browse files

bugfix (autodetect user github)

  • Loading branch information...
blaines committed Jul 13, 2010
1 parent f9f50cb commit c4120ca5635fe122f4c5bc589aa6cf428619cbd3
Showing with 1 addition and 1 deletion.
  1. +1 −1 client.js
View
@@ -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.