From 2a8de1c009fb4de491711276dd8488eb84ac5de6 Mon Sep 17 00:00:00 2001 From: Ryan Morris Date: Wed, 23 Oct 2013 08:20:49 -0500 Subject: [PATCH] fix(docs): load disqus over https --- src/templates/js/docs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/templates/js/docs.js b/src/templates/js/docs.js index 892a170..8ce6bd3 100644 --- a/src/templates/js/docs.js +++ b/src/templates/js/docs.js @@ -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 - + }; }; @@ -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); })();