no http:// sources in sponsors
authorJan Szejko <janek37@gmail.com>
Tue, 13 Jun 2017 13:03:34 +0000 (15:03 +0200)
committerJan Szejko <janek37@gmail.com>
Tue, 13 Jun 2017 13:37:31 +0000 (15:37 +0200)
src/sponsors/widgets.py

index bc8b453..7641549 100644 (file)
@@ -12,8 +12,8 @@ from sponsors import models
 class SponsorPageWidget(forms.Textarea):
     class Media:
         js = (
 class SponsorPageWidget(forms.Textarea):
     class Media:
         js = (
-            'http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js',
-            'http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js',
+            '//ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js',
+            '//ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js',
             settings.STATIC_URL + 'sponsors/js/jquery.json.min.js',
             settings.STATIC_URL + 'sponsors/js/footer_admin.js',
         )
             settings.STATIC_URL + 'sponsors/js/jquery.json.min.js',
             settings.STATIC_URL + 'sponsors/js/footer_admin.js',
         )