Remove 'type' attribute of <script> element
This is obsolete. Change-Id: I9fd6771f11297f35a868be00e0abedf449cc4aa2 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
parent
88b610f002
commit
b301ee75bf
|
@ -79,7 +79,7 @@ ga('send', 'pageview');
|
|||
{% include 'script_footer.html' %}
|
||||
{% block script_footer %}{% endblock %}
|
||||
{% if display_badge %}
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
|
||||
$.ajax({
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
<!-- jQuery -->
|
||||
<script type="text/javascript" src="{{pathto('_static/js/jquery-3.2.1.min.js', 1)}}"></script>
|
||||
<script src="{{pathto('_static/js/jquery-3.2.1.min.js', 1)}}"></script>
|
||||
|
||||
<!-- Bootstrap JavaScript -->
|
||||
<script type="text/javascript" src="{{pathto('_static/js/bootstrap.min.js', 1)}}"></script>
|
||||
<script src="{{pathto('_static/js/bootstrap.min.js', 1)}}"></script>
|
||||
|
||||
<!-- The rest of the JS -->
|
||||
<script type="text/javascript" src="{{pathto('_static/js/navigation.js', 1)}}"></script>
|
||||
<script src="{{pathto('_static/js/navigation.js', 1)}}"></script>
|
||||
|
||||
<!-- Docs JS -->
|
||||
<script type="text/javascript" src="{{pathto('_static/js/docs.js', 1)}}"></script>
|
||||
<script src="{{pathto('_static/js/docs.js', 1)}}"></script>
|
||||
|
||||
<!-- standard sphinx include libraries, which allow search highlighting -->
|
||||
<script type="text/javascript" src="{{pathto('_static/underscore.js', 1)}}"></script>
|
||||
<script type="text/javascript" src="{{pathto('_static/doctools.js', 1)}}"></script>
|
||||
<script type="text/javascript" src="{{pathto('_static/searchtools.js', 1)}}"></script>
|
||||
<script type="text/javascript" src="{{ pathto('_static/language_data.js', 1) }}"></script>
|
||||
<script src="{{pathto('_static/underscore.js', 1)}}"></script>
|
||||
<script src="{{pathto('_static/doctools.js', 1)}}"></script>
|
||||
<script src="{{pathto('_static/searchtools.js', 1)}}"></script>
|
||||
<script src="{{ pathto('_static/language_data.js', 1) }}"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
var DOCUMENTATION_OPTIONS = {
|
||||
URL_ROOT: './',
|
||||
VERSION: '{{ version }}',
|
||||
|
@ -29,7 +29,7 @@
|
|||
</script>
|
||||
|
||||
<!-- Javascript for page -->
|
||||
<script language="JavaScript">
|
||||
<script>
|
||||
/* Build a description of this page including SHA, source location on git
|
||||
* repo, build time and the project's launchpad bug tag. Set the HREF of the
|
||||
* bug buttons
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<script src="https://www.google.com/jsapi" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
<script src="https://www.google.com/jsapi"></script>
|
||||
<script>
|
||||
//<![CDATA[
|
||||
google.load('search', '1', {
|
||||
language: 'en'
|
||||
|
|
|
@ -14,10 +14,9 @@
|
|||
{% endblock %}
|
||||
{% block body %}
|
||||
<div id="fallback" class="admonition warning">
|
||||
<script type="text/javascript">document.getElementById('fallback').style.display = 'none';</script>
|
||||
<script>document.getElementById('fallback').style.display = 'none';</script>
|
||||
<p>
|
||||
{% trans %}Please activate JavaScript to enable the search
|
||||
functionality.{% endtrans %}
|
||||
{% trans %}Please activate JavaScript to enable the search functionality.{% endtrans %}
|
||||
</p>
|
||||
</div>
|
||||
<p>
|
||||
|
@ -35,9 +34,9 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block script_footer %}
|
||||
<script type="text/javascript">
|
||||
<script>
|
||||
jQuery(function() { Search.loadIndex("searchindex.js"); });
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" id="searchindexloader"></script>
|
||||
<script id="searchindexloader"></script>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue