Skip to content

Commit 957760d

Browse files
authored
update css classes for private repo
1 parent c57c7d2 commit 957760d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
const isPR = (path) => /^\/[^/]+\/[^/]+\/pull\/\d+/.test(path);
66
const isIssue = (path) => /^\/[^/]+\/[^/]+\/issues\/\d+/.test(path);
77
const getCurrentUser = () => $(".js-menu-target img").attr("alt").slice(1) || "";
8-
const isPrivate = () => $(".repo-private-label").length > 0;
8+
const isPrivate = () => $(".label-private").length > 0;
99
let statsScope = "repo";
1010

1111
function getContributor() {

0 commit comments

Comments
 (0)