1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-21 04:11:42 +02:00

feat(admin-plugin): fix dropdown logic #211

This commit is contained in:
Awilum
2020-01-30 12:02:33 +03:00
parent ad5848f74c
commit a57a90cc38

View File

@@ -12,6 +12,8 @@
trigger: 'click',
maxWidth: 500,
zIndex: 10,
content: $('.js-dropdown-btn').siblings().html()
content(reference) {
return document.getElementById(reference.getAttribute('data-dropdown')).innerHTML;
}
});
</script>