change http protocol to https for external resources

resource loading issues when ssl is used.
This commit is contained in:
Vaidas Lungis committed 2015-02-03 16:12:22 +02:00
1 parent 71bd95fe3a
commit e6d13e99df
2 files changed
+2 -2

No files matched your search

@@ -60,7 +60,7 @@
{% if guest.extension_is_on({"mod":"spamchecker"}) %}
{% set rc = guest.spamchecker_recaptcha %}
{% if rc.enabled %}
{% set server = "http://www.google.com/recaptcha/api" %}
{% set server = "https://www.google.com/recaptcha/api" %}
<script type="text/javascript">
var RecaptchaOptions = {
theme : 'custom',
@@ -116,7 +116,7 @@ if (typeof jQuery === "undefined") {
script.onload = function(){
show_popup();
};
script.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js';
script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js';
d.getElementsByTagName('head')[0].appendChild(script);
}(document));
}else{