From 1860c236329a13e62b8af2f2c41c589fa25177bb Mon Sep 17 00:00:00 2001 From: Philip Hofstetter Date: Thu, 4 Aug 2011 21:49:38 +0200 Subject: corrected fork skipping logic --- .themes/classic/source/javascripts/github.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.themes/classic') diff --git a/.themes/classic/source/javascripts/github.js b/.themes/classic/source/javascripts/github.js index 79c60d1b..623d493f 100644 --- a/.themes/classic/source/javascripts/github.js +++ b/.themes/classic/source/javascripts/github.js @@ -18,7 +18,7 @@ github = (function(){ var repos = []; var i; for (i = 0; i < data.repositories.length; i++){ - if (options.skip_forks && !data.repositories[i].fork) + if (options.skip_forks && data.repositories[i].fork) continue; repos.push(data.repositories[i]); } -- cgit v1.2.1