fix some errors in our js
This commit is contained in:
parent
11a5ca8ff3
commit
6ed8a735d0
|
@ -250,12 +250,10 @@ const Dropdown = (($) => {
|
|||
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
|
||||
placement = AttachmentMap.TOPEND
|
||||
}
|
||||
} else if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
|
||||
placement = AttachmentMap.BOTTOMEND
|
||||
}
|
||||
else {
|
||||
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
|
||||
placement = AttachmentMap.BOTTOMEND
|
||||
}
|
||||
}
|
||||
|
||||
return placement
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue