]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/user.html
Load jQuery from cdnjs
[osqa.git] / forum / skins / default / templates / user.html
index 61c63a0d3cb6dac88fb9c9b432153380ea32fe24..4bb2c6679037cb68b4aa50e9a2c554248acdcea4 100644 (file)
@@ -14,7 +14,8 @@
 {% endblock %}
 {% block forejs %}
     {% if request.user.is_superuser or request.user == view_user %}
 {% endblock %}
 {% block forejs %}
     {% if request.user.is_superuser or request.user == view_user %}
-        <script type="text/javascript">google.load("jquery", "1.4.2");google.load("jqueryui", "1.8.1");</script>
+        <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.4.4/jquery.min.js" integrity="sha512-tcexmm0PBc+jOn9UwbgHVpjZIleEKXif1MCkzgNfVjhXKDxwYumrCOxhZ5tIaXHz2DpEE14hfjFn5J+tpaFSCg==" crossorigin="anonymous"></script>
+        <script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.8.24/jquery-ui.min.js" integrity="sha512-leN1LJ2B5s9cBINeKL5bbT3cQvOebXsezoYGyuMq9oaytpFJgJ1uBOU86lJZObKTFLbMHqP0zFXR/1N6Nnlskw==" crossorigin="anonymous"></script>
         <script type="text/javascript">
             response_commands['update_profile_karma'] = function(new_karma) {
                 $('#user-reputation').css('background', 'yellow');
         <script type="text/javascript">
             response_commands['update_profile_karma'] = function(new_karma) {
                 $('#user-reputation').css('background', 'yellow');
@@ -22,8 +23,8 @@
                 $('#user-reputation').animate({ backgroundColor: "transparent" }, 1000);
             }
         </script>
                 $('#user-reputation').animate({ backgroundColor: "transparent" }, 1000);
             }
         </script>
-        <link rel="stylesheet" href="http://jquery-ui.googlecode.com/svn/tags/latest/themes/base/jquery-ui.css" type="text/css" media="all" />
-        <link rel="stylesheet" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css" type="text/css" media="all" />
+        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.8.24/themes/base/jquery-ui.min.css" integrity="sha512-Lzjd1ELD6YCIwIU5uaJldvbibV5Fi7HThNZjrwJHALBJRT6q2a6ndgi8TNgcKcUqGsH6bpT7xyTEi8qRzN1ASg==" crossorigin="anonymous" />
+        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.8.24/themes/base/jquery.ui.theme.min.css" integrity="sha512-BLVMxLmRDKZgx5GBHNkXJuKBi6D6YOdXN2wUF61yEyF29JIwzU6Z82ZlfpgR+he6XHDh7PspMNNcurw4uk3ZcA==" crossorigin="anonymous" />
         <link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/user.css" %}"/>
     {% endif %}
     <style type="text/css">
         <link rel="stylesheet" type="text/css" media="screen" href="{% media "/media/style/user.css" %}"/>
     {% endif %}
     <style type="text/css">