summaryrefslogtreecommitdiffstats
path: root/theme/javascript/app.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-14 16:29:02 +0200
committerSamy Pessé <samypesse@gmail.com>2014-04-14 16:29:02 +0200
commit6da48764e89dc7cdf050126624ea23ba1dad5d76 (patch)
treed8a88d51b7f71019a10689af09e0b9776ee709e1 /theme/javascript/app.js
parent8c4cfed6092f69df81e1999944638595e03edb9c (diff)
downloadgitbook-6da48764e89dc7cdf050126624ea23ba1dad5d76.zip
gitbook-6da48764e89dc7cdf050126624ea23ba1dad5d76.tar.gz
gitbook-6da48764e89dc7cdf050126624ea23ba1dad5d76.tar.bz2
Fix header interractive actions: buttons and github
Diffstat (limited to 'theme/javascript/app.js')
-rwxr-xr-xtheme/javascript/app.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/theme/javascript/app.js b/theme/javascript/app.js
index 6cf4120..38a9572 100755
--- a/theme/javascript/app.js
+++ b/theme/javascript/app.js
@@ -17,13 +17,6 @@ require([
if (state.githubId) {
// Initialize storage
storage.setBaseKey(state.githubId);
-
- // Star and watch count
- $.getJSON("https://api.github.com/repos/"+state.githubId)
- .done(function(repo) {
- $book.find(".count-star span").text(repo.stargazers_count);
- $book.find(".count-watch span").text(repo.subscribers_count);
- });
}
// Init sidebar