Skip to content
This repository has been archived by the owner on Jan 23, 2022. It is now read-only.

Commit

Permalink
fix(docs): load disqus over https
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Morris committed Nov 10, 2013
1 parent 45943f2 commit 2a8de1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/templates/js/docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ docsApp.controller.DocsController = function($scope, $location, $window, section
active: page1 && this.currentPage == page1 || page2 && this.currentPage == page2,
match: this.focused && this.currentPage != page1 &&
this.bestMatch.rank > 0 && this.bestMatch.page == page1

};
};

Expand Down Expand Up @@ -544,7 +544,7 @@ docsApp.controller.DocsController = function($scope, $location, $window, section
// http://docs.disqus.com/developers/universal/
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = 'http://angularjs.disqus.com/embed.js';
dsq.src = '//angularjs.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] ||
document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
Expand Down

0 comments on commit 2a8de1c

Please sign in to comment.