Fix GitHub star check

This commit is contained in:
Maddison Hellstrom 2017-11-20 08:27:52 -08:00
parent e49bc7f047
commit 7f9bd58f2c
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ function ghStar(toggle) {
var verb = "is";
var starred = $(cur).attr("class").indexOf("unstarred") === -1;
if (starred) {
if (starred && toggle) {
status = "un" + status;
star = "☆";
}