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:
@@ -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>
|
Reference in New Issue
Block a user