Skip to content

Commit e32cc5a

Browse files
committed
Use proper array membership test.
JavaScript is not Python, which I apparently forgot.
1 parent b8aa530 commit e32cc5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/javascripts/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
repos = $.grep(repos, function(value) {
246246
var keep = exclude.indexOf(value.name) === -1,
247247
found = false;
248-
if( value.fork && !(value.name in includeForks) ){
248+
if( value.fork && (includeForks.indexOf(value.name) === -1) ){
249249
// ignore most forks.
250250
keep = false;
251251
}

0 commit comments

Comments
 (0)