Import bootstrap-tooltip.js instead of all of _editor_js.html

pull/6257/head
Matt Westcott 2020-02-13 16:01:40 +00:00 zatwierdzone przez Matt Westcott
rodzic 3ab3f5d171
commit be8997bc18
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -90,8 +90,7 @@
{% block extra_js %}
{{ block.super }}
{# load editor js to get tooltips #}
{% include "wagtailadmin/pages/_editor_js.html" %}
<script src="{% versioned_static 'wagtailadmin/js/vendor/bootstrap-tooltip.js' %}"></script>
<script>
$(function() {