Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 11cb942

Browse files
IgorMinarvojtajina
authored andcommitted
chore(docs): disable disqus for localhost
it's just slowing down the test runs and debugging
1 parent c76a120 commit 11cb942

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/src/templates/docs.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ function DocsController($location, $window, $cookies, $filter) {
108108
window.disqus_url = 'http://docs-next.angularjs.org' + currentPageId;
109109

110110
if ($location.host() == 'localhost') {
111-
window.disqus_developer = 1;
111+
return; // don't display disqus on localhost, comment this out if needed
112+
//window.disqus_developer = 1;
112113
}
113114

114115
// http://docs.disqus.com/developers/universal/

0 commit comments

Comments
 (0)