Fix broken Tippy tooltips caused by changes to Tippy's API in version 3

Este commit está contenido en:
Danielle McLean 2019-01-17 12:29:16 +11:00
padre 012aed42b1
commit b318ed5b06
Firmado por: 00dani
ID de clave GPG: 8EB789DDF3ABD240
Se han modificado 2 ficheros con 12 adiciones y 2 borrados

Ver fichero

@ -97,6 +97,11 @@
{% block foot %}
<script type="text/javascript">
tippy('.profiles [title]', {arrow: true});
tippy('.profiles [title]', {
arrow: true,
content: function(element) {
return element.getAttribute('title');
}
});
</script>
{% endblock %}

Ver fichero

@ -71,6 +71,11 @@
{% block foot %}
<script type="text/javascript">
tippy('[data-tippy-theme]', {arrow: true});
tippy('[data-tippy-theme]', {
arrow: true,
content: function(element) {
return document.querySelector(element.getAttribute('data-tippy-html')).innerHTML;
}
});
</script>
{% endblock %}