mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-18 01:36:08 +08:00
ui: fix nav-dropdown (#326)
This commit is contained in:
1 parent
f9918128a9
commit
adce12e212
3 files changed
+5
-4
No files matched your search
@@ -26,7 +26,7 @@ export default class Dropdown extends DOMAttachedObject {
|
||||
};
|
||||
this.dropInstance = new Drop({
|
||||
target: $dom[0],
|
||||
classes: 'dropdown',
|
||||
classes: `dropdown ${$dom.attr('data-dropdown-custom-class') || ''}`,
|
||||
content: this.options.target || $.find($dom.attr('data-dropdown-target'))[0],
|
||||
position: this.options.position,
|
||||
openOn: 'hover',
|
||||
|
||||
Reference in new issue
Block a user