From cdad4a3257e9abe5fc3153dd970b23b184063eba Mon Sep 17 00:00:00 2001 From: Adam Palay Date: Fri, 30 May 2014 14:02:15 -0400 Subject: [PATCH] load js without specifying protocol --- common/static/js/vendor/annotator.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/static/js/vendor/annotator.js b/common/static/js/vendor/annotator.js index f66baa2c7e..9aa4bcbe21 100644 --- a/common/static/js/vendor/annotator.js +++ b/common/static/js/vendor/annotator.js @@ -1264,15 +1264,15 @@ g = util.getGlobal(); if (((_ref1 = g.document) != null ? _ref1.evaluate : void 0) == null) { - $.getScript('http://assets.annotateit.org/vendor/xpath.min.js'); + $.getScript('//assets.annotateit.org/vendor/xpath.min.js'); } if (g.getSelection == null) { - $.getScript('http://assets.annotateit.org/vendor/ierange.min.js'); + $.getScript('//assets.annotateit.org/vendor/ierange.min.js'); } if (g.JSON == null) { - $.getScript('http://assets.annotateit.org/vendor/json2.min.js'); + $.getScript('//assets.annotateit.org/vendor/json2.min.js'); } Annotator.$ = $;