Browse code

corrected fork skipping logic

Philip Hofstetter authored on 04/08/2011 at 19:49:38
Showing 2 changed files
... ...
@@ -18,7 +18,7 @@ github = (function(){
18 18
                 var repos = [];
19 19
                 var i;
20 20
                 for (i = 0; i < data.repositories.length; i++){
21
-                  if (options.skip_forks && !data.repositories[i].fork)
21
+                  if (options.skip_forks && data.repositories[i].fork)
22 22
                     continue;
23 23
                   repos.push(data.repositories[i]);
24 24
                 }
... ...
@@ -59,6 +59,7 @@ twitter_tweet_button: true
59 59
 github_user:
60 60
 github_repo_count: 0
61 61
 github_show_profile_link: true
62
+github_skip_forks: true
62 63
 
63 64
 # Google Plus
64 65
 google_plus_one: true