1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-18 10:51:21 +02:00

feat(admin-plugin): update tippy module, add const for instance #211

This commit is contained in:
Awilum
2020-02-01 14:59:31 +03:00
parent 523dd217be
commit 341e6cc45d

View File

@@ -1,6 +1,7 @@
<script>
tippy('.js-nav', {placement: 'right'});
tippy('.js-dropdown-btn', {
const nav_tooltip = tippy('.js-nav', {placement: 'right'});
const dropdown = tippy('.js-dropdown-btn', {
placement: 'bottom',
allowHTML: true,
flipOnUpdate: true,
@@ -16,4 +17,6 @@
return document.getElementById(reference.getAttribute('data-dropdown')).innerHTML;
}
});
console.log(dropdown);
</script>