Remove redundant logic

This commit is contained in:
Maddison Hellstrom 2017-11-18 00:10:58 -08:00
parent 4fa6ad9336
commit 41ad899577
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 ( (toggle && starred) || (!toggle && starred) ) {
if (starred) {
status = "un" + status;
star = "☆";
}