mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-05-28 12:48:16 +00:00
fix some errors in our js
This commit is contained in:
parent
11a5ca8ff3
commit
6ed8a735d0
1 changed files with 3 additions and 5 deletions
|
|
@ -250,12 +250,10 @@ const Dropdown = (($) => {
|
||||||
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
|
if ($(this._menu).hasClass(ClassName.MENURIGHT)) {
|
||||||
placement = AttachmentMap.TOPEND
|
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
|
return placement
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue