mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 15:40:22 +00:00
chore(docs): disable disqus for localhost
it's just slowing down the test runs and debugging
This commit is contained in:
parent
c76a120bfe
commit
11cb9423a7
1 changed files with 2 additions and 1 deletions
|
|
@ -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/
|
||||
|
|
|
|||
Loading…
Reference in a new issue