Commit 169e5211 by Matthew Piatetsky

Put optimizely after jQuery

Simplify using jQuery in optimizely on ecommerce.

No JIRA Ticket
parent 93973de1
...@@ -29,10 +29,6 @@ ...@@ -29,10 +29,6 @@
{% block stylesheets %} {% block stylesheets %}
{% endblock %} {% endblock %}
{% endcompress %} {% endcompress %}
{% if optimizely_snippet_src %}
<script src="{{ optimizely_snippet_src }}"></script>
{% endif %}
</head> </head>
<body> <body>
{% block skip_link %} {% block skip_link %}
...@@ -68,6 +64,10 @@ ...@@ -68,6 +64,10 @@
<script src="{% static 'js/common.js' %}"></script> <script src="{% static 'js/common.js' %}"></script>
{% endcompress %} {% endcompress %}
{% if optimizely_snippet_src %}
<script src="{{ optimizely_snippet_src }}"></script>
{% endif %}
{% compress js %} {% compress js %}
{# Note: This block is purposely separated from the one above so that browsers cache the common JS instead of {# Note: This block is purposely separated from the one above so that browsers cache the common JS instead of
downloading a single, large file for each page. #} downloading a single, large file for each page. #}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment