diff options
| -rw-r--r-- | docs/src/templates/docs.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/src/templates/docs.js b/docs/src/templates/docs.js index 995d8bf9..3a02e990 100644 --- a/docs/src/templates/docs.js +++ b/docs/src/templates/docs.js @@ -108,7 +108,8 @@ function DocsController($location, $window, $cookies, $filter) { window.disqus_url = 'http://docs-next.angularjs.org' + currentPageId; if ($location.host() == 'localhost') { - window.disqus_developer = 1; + return; // don't display disqus on localhost, comment this out if needed + //window.disqus_developer = 1; } // http://docs.disqus.com/developers/universal/ |
