No need to load d3 or jquery for these templates.
Commit ready for merge. - Legacy-Id: 19482
This commit is contained in:
parent
b0d642dce0
commit
a2d47f0af8
|
@ -7,8 +7,6 @@
|
|||
{% block pagehead %}
|
||||
<link rel="alternate" type="application/atom+xml" title="Document changes" href="/feed/document-changes/{{ doc.name }}/">
|
||||
<meta name="description" content="{{ doc.title }} {% if doc.get_state_slug == "rfc" %}(RFC {{ rfc_number }}{% if published %}, {{ published.time|date:"F Y" }}{% endif %}{% if obsoleted_by %}; obsoleted by {{ obsoleted_by|join:", " }}{% endif %}){% else %}(Internet-Draft, {{ doc.time|date:"Y" }}){% endif %}">
|
||||
<script src="{% static 'd3/d3.min.js' %}"></script>
|
||||
<script src="{% static 'jquery/jquery.min.js' %}"></script>
|
||||
{% endblock %}
|
||||
|
||||
{% block morecss %}
|
||||
|
@ -100,4 +98,4 @@
|
|||
}
|
||||
// -->
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
|
@ -149,13 +149,6 @@
|
|||
|
||||
</div>
|
||||
|
||||
{% comment %}
|
||||
<!-- Remove the *-nojs attributes if we are running js. This depends on jQuery's removeClass(): -->
|
||||
<!-- Do this as early as possible (after loading the page and jQuery) to avoid rendering changes -->
|
||||
{% endcomment %}
|
||||
<script>$(".visible-nojs").removeClass("visible-nojs");</script>
|
||||
<script>$(".hidden-nojs").removeClass("hidden-nojs");</script>
|
||||
{% block js %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</html>
|
Loading…
Reference in a new issue