mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-16 03:10:16 -04:00
Only serve Javascript to users of IE9 and above
Our Javascript errors in older versions of IE anyway, so we might as well save people some bandwidth and page load speed by not serving it to them.
This commit is contained in:
@@ -109,7 +109,9 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block body_end %}
|
||||
<!--[if gt IE 8]><!-->
|
||||
<script type="text/javascript" src="{{ asset_url('javascripts/all.js') }}"></script>
|
||||
<!--<![endif]-->
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
|
||||
Reference in New Issue
Block a user