Upgrade to Tippy.js v2, along with upgrading its dependency Popper.js

This commit is contained in:
Danielle McLean 2018-05-01 14:00:16 +10:00
parent 6f3f613cc8
commit ffd0d3384e
Signed by untrusted user: 00dani
GPG key ID: 8EB789DDF3ABD240
5 changed files with 17 additions and 13 deletions

View file

@ -14,11 +14,11 @@
{% if app %}{{ app.name | first }}{% endif %}
{% if app %}({% endif %}<a class="u-url code{% if not app %} p-name{% endif %}" href="{{ params.client_id }}">{{ params.client_id }}</a>{% if app %}){% endif %}?
{% if verified %}
<span data-tooltip data-theme="success" data-html="#verified-success">
<span data-tooltip data-tippy-theme="success" data-tippy-html="#verified-success">
<i class="fas fa-check-circle verified-success"></i>
</span>
{% else %}
<span data-tooltip data-theme="warning" data-html="#verified-warning">
<span data-tooltip data-tippy-theme="warning" data-tippy-html="#verified-warning">
<i class="fas fa-question-circle verified-warning"></i>
</span>
{% endif %}
@ -65,6 +65,6 @@
{% endblock %}
{% block foot %}
<script type="text/javascript">
tippy('[data-tooltip]', {arrow: true});
tippy('[data-tippy-theme]', {arrow: true});
</script>
{% endblock %}