Skip to content

Commit

Permalink
Alert if not on dashboard page
Browse files Browse the repository at this point in the history
  • Loading branch information
nakajima committed Oct 20, 2009
1 parent 9d488e9 commit 226f174
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion augment-github.js
Expand Up @@ -67,5 +67,9 @@
});
};

fetchRepos();
if ($('#repo_listing').size()) {
fetchRepos();
} else {
alert("Dude, you're not on your dashboard.");
}
})(jQuery)

0 comments on commit 226f174

Please sign in to comment.